3.1.3 X509Req objects
X509Req objects have the following methods:
- get_pubkey()
-
Return a PKey object representing the public key of the certificate request.
- get_subject()
-
Return a borrowed reference to a X509Name object representing the subject
of the certificate. When the corresponding X509 or X509Req object is
destroyed, this object will be invalid!
- set_pubkey(pkey)
-
Set the public key of the certificate request to pkey.
- sign(pkey, digest)
-
Sign the certificate request, using the key pkey and the message digest
algorithm identified by the string digest.
- verify(pkey)
-
Verify a certificate request using the public key pkey.