Class: X509::Request
- Inherits:
-
Object
- Object
- X509::Request
- Defined in:
- ossl_x509req.c
Instance Method Summary collapse
- #add_attribute ⇒ Object
- #attributes ⇒ Object
- #attributes= ⇒ Object
- #initialize ⇒ Object constructor
- #public_key ⇒ Object
- #public_key= ⇒ Object
- #sign ⇒ Object
- #signature_algorithm ⇒ Object
- #subject ⇒ Object
- #subject= ⇒ Object
- #to_der ⇒ Object
- #to_pem ⇒ Object (also: #to_s)
- #to_text ⇒ Object
-
#verify ⇒ Object
Checks that cert signature is made with PRIVversion of this PUBLIC 'key'.
- #version ⇒ Object
- #version= ⇒ Object
Constructor Details
#initialize ⇒ Object
Instance Method Details
#add_attribute ⇒ Object
#attributes ⇒ Object
#attributes= ⇒ Object
#public_key ⇒ Object
#public_key= ⇒ Object
#sign ⇒ Object
#signature_algorithm ⇒ Object
#subject ⇒ Object
#subject= ⇒ Object
#to_der ⇒ Object
#to_pem ⇒ Object Also known as: to_s
#to_text ⇒ Object
#verify ⇒ Object
Checks that cert signature is made with PRIVversion of this PUBLIC 'key'
|
# File 'ossl_x509req.c'
static VALUE
ossl_x509req_verify(VALUE self, VALUE key)
{
X509_REQ *req;
EVP_PKEY *pkey;
int i;
GetX509Req(self, req);
pkey = GetPKeyPtr(key); /* NO NEED TO DUP */
if ((i = X509_REQ_verify(req, pkey)) < 0) {
ossl_raise(eX509ReqError, NULL);
}
|