Adds nonce
to this response. If no nonce was provided a random nonce will be added.
Compares this certificate id’s issuer with other
and returns true if they are the same.
Encodes this DSA
to its DER encoding.
See the OpenSSL
documentation for EC_builtin_curves()
See the OpenSSL
documentation for EC_KEY_generate_key()
See the OpenSSL
documentation for i2d_ECPrivateKey_bio()
Outputs this keypair in DER encoding.
Encrypt string
with the public key. padding
defaults to PKCS1_PADDING. The encrypted string output can be decrypted using private_decrypt
.
Decrypt string
, which has been encrypted with the private key, with the public key. padding
defaults to PKCS1_PADDING.
Encrypt string
with the private key. padding
defaults to PKCS1_PADDING. The encrypted string output can be decrypted using public_decrypt
.
Decrypt string
, which has been encrypted with the public key, with the private key. padding
defaults to PKCS1_PADDING.
General callback for OpenSSL
verify
Adds the OpenSSL::X509::Certificate
cert
to the certificate store.