Curve25519PrivateKeyImpl

This abstract class represents ECC private keys

Constructors

this
this(RandomNumberGenerator rng)

ECPrivateKey constructor

this
this(AlgorithmIdentifier alg_id, SecureVector!ubyte key_bits, RandomNumberGenerator rng)
Undocumented in source.

Members

Functions

agree
SecureVector!ubyte agree(const(ubyte)* w, size_t w_len)
Undocumented in source. Be warned that the author may not have intended to support it.
checkKey
bool checkKey(RandomNumberGenerator rng, bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
pkcs8AlgorithmIdentifier
AlgorithmIdentifier pkcs8AlgorithmIdentifier()
Undocumented in source. Be warned that the author may not have intended to support it.
pkcs8PrivateKey
SecureVector!ubyte pkcs8PrivateKey()
Undocumented in source. Be warned that the author may not have intended to support it.
publicValue
Vector!ubyte publicValue()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Curve25519PublicKeyImpl

algoName
string algoName [@property getter]

Used for object casting to the right type in the factory.

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.
algorithmIdentifier
AlgorithmIdentifier algorithmIdentifier()
Undocumented in source. Be warned that the author may not have intended to support it.
x509SubjectPublicKey
Vector!ubyte x509SubjectPublicKey()
Undocumented in source. Be warned that the author may not have intended to support it.
publicValue
Vector!ubyte publicValue()
Undocumented in source. Be warned that the author may not have intended to support it.
checkKey
bool checkKey(RandomNumberGenerator rng, bool b)
Undocumented in source. Be warned that the author may not have intended to support it.
estimatedStrength
size_t estimatedStrength()
Undocumented in source. Be warned that the author may not have intended to support it.
m_public
SecureVector!ubyte m_public;
Undocumented in source.

From PrivateKey

pkcs8PrivateKey
SecureVector!ubyte pkcs8PrivateKey()
pkcs8AlgorithmIdentifier
AlgorithmIdentifier pkcs8AlgorithmIdentifier()
loadCheck
void loadCheck(RandomNumberGenerator rng)

Self-test after loading a key

genCheck
void genCheck(RandomNumberGenerator rng)

Self-test after generating a key

From PKKeyAgreementKey

publicValue
Vector!ubyte publicValue()
Undocumented in source.

Meta