Reads in the provided PEM data, with an optional password to decrypt the private key.
Generates a new private/public key at the specified bit leve.
Decrypts data previously encrypted with the matching PublicKey
Encrypt the passed data using the PrivateKey
Compares two PrivateKey classes to see if the internal structures are the same.
Returns the underlying public/private key pair in PEM format.
Returns the underlying PublicKey
Sign the given data with the private key
Generates a RSA public/private key pair for use with X509 Certificates and other applications search as S/MIME, DomainKeys, etc.
Example