SecureNet

Undocumented in source.

Members

Aliases

Signed
alias Signed = Tuple!(Signature, "signature", Fingerprint, "message")
Undocumented in source.

Functions

ECDHSecret
immutable(ubyte[]) ECDHSecret(const(ubyte[]) seckey, const(Pubkey) pubkey)
Undocumented in source.
ECDHSecret
immutable(ubyte[]) ECDHSecret(const(Pubkey) pubkey)
Undocumented in source.
clone
SecureNet clone()
Undocumented in source.
createKeyPair
void createKeyPair(ubyte[] privkey)
Undocumented in source.
derive
void derive(string tweak_word, shared(SecureNet) secure_net)
Undocumented in source.
derive
void derive(const(ubyte[]) tweak_code, shared(SecureNet) secure_net)
Undocumented in source.
derive
void derive(string tweak_word, ubyte[] tweak_privkey)
Undocumented in source.
derive
void derive(const(ubyte[]) tweak_code, ubyte[] tweak_privkey)
Undocumented in source.
derive
const(SecureNet) derive(const(ubyte[]) tweak_code)
Undocumented in source.
derive
const(SecureNet) derive(B tweak_code)
Undocumented in source. Be warned that the author may not have intended to support it.
derivePubkey
Pubkey derivePubkey(const(ubyte[]) tweak_code)
Undocumented in source.
derivePubkey
Pubkey derivePubkey(string tweak_word)
Undocumented in source.
eraseKey
void eraseKey()
Undocumented in source.
generateKeyPair
void generateKeyPair(const(char[]) passphrase, const(char[]) salt, void delegate(scope const(ubyte[]) data) @(safe) dg)
Undocumented in source.
getPubkey
Pubkey getPubkey(const(ubyte[]) seckey)
Undocumented in source.
pubkey
Pubkey pubkey()
Undocumented in source.
sign
Signature sign(Fingerprint message)
Undocumented in source.
sign
Signed sign(Document doc)
Undocumented in source. Be warned that the author may not have intended to support it.
sign
Signed sign(T pack)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
bool verify(Fingerprint message, Signature signature, Pubkey pubkey)
Undocumented in source.
verify
bool verify(Document doc, Signature signature, Pubkey pubkey)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
bool verify(T pack, Signature signature, Pubkey pubkey)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From HashNet

hashSize
uint hashSize()
Undocumented in source.
calcHash
Fingerprint calcHash(const(B) data)
Undocumented in source. Be warned that the author may not have intended to support it.
rawCalcHash
immutable(Buffer) rawCalcHash(const(ubyte[]) data)
Undocumented in source.
HMAC
immutable(Buffer) HMAC(const(ubyte[]) data)
Undocumented in source.
calcHash
Fingerprint calcHash(const(Document) doc)
Undocumented in source.
calcHash
Fingerprint calcHash(T value)
Undocumented in source. Be warned that the author may not have intended to support it.
multihash
string multihash()
Undocumented in source.

Meta