RSA

Undocumented in source.

Constructors

this
this(int RSA_KEYLEN)
Undocumented in source.
this
this(ubyte[] privateKey, ubyte[] password)
Undocumented in source.
this
this(ubyte[] publicKey)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

decrypt
ubyte[] decrypt(ubyte[] inMessage)
Undocumented in source.
encrypt
ubyte[] encrypt(ubyte[] inMessage)
Undocumented in source.
getPrivateKey
ubyte[] getPrivateKey(string password, int iterations, bool use3Des)
Undocumented in source. Be warned that the author may not have intended to support it.
getPublicKey
ubyte[] getPublicKey()
Undocumented in source. Be warned that the author may not have intended to support it.
open
ubyte[] open(ubyte[] encMessage)
Undocumented in source. Be warned that the author may not have intended to support it.
open
ubyte[] open(ubyte[] encMessage, SymmetricAlgorithm algorithm)
Undocumented in source. Be warned that the author may not have intended to support it.
seal
ubyte[] seal(ubyte[] plaintext)
Undocumented in source. Be warned that the author may not have intended to support it.
seal
ubyte[] seal(ubyte[] plaintext, SymmetricAlgorithm algorithm)
Undocumented in source. Be warned that the author may not have intended to support it.
sign
ubyte[] sign(ubyte[] data, bool useSha256)
Undocumented in source.
verify
bool verify(ubyte[] data, ubyte[] signature, bool useSha256)
Undocumented in source.

Properties

hasPrivateKey
bool hasPrivateKey [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

keypair
EVP_PKEY* keypair;
Undocumented in source.

Meta