botan v1.12.12 (2020-01-26T16:00:04Z)
Dub
Repo
ECDHPrivateKey
botan
pubkey
algo
ecdh
This class represents ECDH Private Keys.
static if
(
BOTAN_HAS_PUBLIC_KEY_CRYPTO && BOTAN_HAS_ECDH
)
struct
ECDHPrivateKey {
alias
Options
=
ECDHOptions
;
__gshared immutable
string
algoName
;
this
(AlgorithmIdentifier alg_id, SecureVector!ubyte key_bits);
this
(RandomNumberGenerator rng, ECGroup domain, BigInt x);
this
(RandomNumberGenerator rng, ECGroup domain);
this
(PrivateKey pkey);
mixin
Embed
!(
m_priv
,
m_owned
)
;
bool
m_owned
;
ECPrivateKey
m_priv
;
}
Constructors
this
this
(AlgorithmIdentifier alg_id, SecureVector!ubyte key_bits)
Undocumented in source.
this
this
(RandomNumberGenerator rng, ECGroup domain, BigInt x)
Generate a new private key
this
this
(RandomNumberGenerator rng, ECGroup domain)
Undocumented in source.
this
this
(PrivateKey pkey)
Undocumented in source.
Members
Aliases
Options
alias
Options
=
ECDHOptions
Undocumented in source.
Mixins
__anonymous
mixin
Embed
!(
m_priv
,
m_owned
)
Undocumented in source.
Static variables
algoName
string
algoName
;
Undocumented in source.
Variables
m_owned
bool
m_owned
;
Undocumented in source.
m_priv
ECPrivateKey
m_priv
;
Undocumented in source.
Meta
Source
See Implementation
botan
pubkey
algo
ecdh
classes
ECDHKAOperation
functions
testEcdhDerDerivation
testEcdhNormalDerivation
testEcdhSomeDp
structs
ECDHOptions
ECDHPrivateKey
ECDHPublicKey
variables
total_tests
This class represents ECDH Private Keys.