ddn.crypto.key.x448
X448 Keys.
Types 2
classX448PublicKey : PublicKey
X448 Public Key. Contains the 56-byte u-coordinate (Little Endian).
Fields
ubyte[56] uMethods
Constructors
this(const(ubyte)[] uBytes)classX448PrivateKey : PrivateKey
X448 Private Key. Contains the 56-byte secret scalar (Little Endian).
Fields
ubyte[56] scalarMethods
Constructors
this(const(ubyte)[] scalarBytes)Destructors
Functions 4
fn
ubyte[] encodeX448Spki(X448PublicKey key)Encodes an X448 public key as DER SubjectPublicKeyInfo (RFC 8410).fn
X448PublicKey decodeX448Spki(const(ubyte)[] der)Decodes an X448 public key from DER SubjectPublicKeyInfo (RFC 8410).fn
ubyte[] encodeX448Pkcs8(X448PrivateKey key)Encodes an X448 private key as DER PKCS#8 PrivateKeyInfo (RFC 8410).fn
X448PrivateKey decodeX448Pkcs8(const(ubyte)[] der)Decodes an X448 private key from DER PKCS#8 PrivateKeyInfo (RFC 8410).