RSAPrivateOperation

RSA private (decrypt/sign) operation

Constructors

this
this(PrivateKey pkey, RandomNumberGenerator rng)
Undocumented in source.
this
this(RSAPrivateKey pkey, RandomNumberGenerator rng)
Undocumented in source.
this
this(IFSchemePrivateKey rsa, RandomNumberGenerator rng)
Undocumented in source.

Members

Functions

decrypt
SecureVector!ubyte decrypt(const(ubyte)* msg, size_t msg_len)
Undocumented in source. Be warned that the author may not have intended to support it.
maxInputBits
size_t maxInputBits()
Undocumented in source. Be warned that the author may not have intended to support it.
messagePartSize
size_t messagePartSize()
Undocumented in source. Be warned that the author may not have intended to support it.
messageParts
size_t messageParts()
Undocumented in source. Be warned that the author may not have intended to support it.
sign
SecureVector!ubyte sign(const(ubyte)* msg, size_t msg_len, RandomNumberGenerator rng)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Signature

messageParts
size_t messageParts()

Find out the number of message parts supported by this scheme.

messagePartSize
size_t messagePartSize()

Find out the message part size supported by this scheme/key.

maxInputBits
size_t maxInputBits()

Get the maximum message size in bits supported by this public key.

sign
SecureVector!ubyte sign(const(ubyte)* msg, size_t msg_len, RandomNumberGenerator rng)
Undocumented in source.

From Decryption

maxInputBits
size_t maxInputBits()
Undocumented in source.
decrypt
SecureVector!ubyte decrypt(const(ubyte)* msg, size_t msg_len)
Undocumented in source.

Meta