Indicates whether this DSA
instance has a private key associated with it or not. The private key may be retrieved with DSA#private_key.
Verifies whether the signature is valid given the message digest input. It does so by validating sig
using the public key of this DSA
instance.
digest
is a message digest of the original input data to be signed
sig
is a DSA
signature value
dsa = OpenSSL::PKey::DSA.new(2048) doc = "Sign me" digest = OpenSSL::Digest::SHA1.digest(doc) sig = dsa.syssign(digest) puts dsa.sysverify(digest, sig) # => true
Does this keypair contain a private key?
Checks that cert signature is made with PRIVversion of this PUBLIC ‘key’
Returns true
if the objects in the directory may be deleted, or the directory may be purged.
Returns true
if the STOR command may be applied to the file.
Writes the node to some output.
The node to write
A class implementing <<
. Pass in an Output
object to change the output encoding.
For full_name
, verifies the certificate chain
is valid, the digests
match the signatures signatures
created by the signer depending on the policy
settings.
If key
is given it is used to validate the signing certificate.