Class: X509::Request

Inherits:
Object
  • Object
show all
Defined in:
ossl_x509req.c

Instance Method Summary collapse

Constructor Details

#initializeObject

Instance Method Details

#add_attributeObject

#attributesObject

#attributes=Object

#public_keyObject

#public_key=Object

#signObject

#signature_algorithmObject

#subjectObject

#subject=Object

#to_derObject

#to_pemObject Also known as: to_s

#to_textObject

#verifyObject

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);
}

#versionObject

#version=Object