IEd25519PrivateKey
Namespace: IotaSdk
public interface IEd25519PrivateKey : System.IEquatable`1[[IotaSdk.Ed25519PrivateKey, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<Ed25519PrivateKey>
Attributes NullableContextAttribute
Methods
PublicKey()
Ed25519PublicKey PublicKey()
Returns
Scheme()
SignatureScheme Scheme()
Returns
SignPersonalMessage(PersonalMessage)
Sign a personal message and return a UserSignature.
UserSignature SignPersonalMessage(PersonalMessage message)
Parameters
message PersonalMessage
Returns
Exceptions
SignTransaction(Transaction)
Sign a transaction and return a UserSignature.
UserSignature SignTransaction(Transaction transaction)
Parameters
transaction Transaction
Returns
Exceptions
ToBech32()
Encode this private key as flag || privkey in Bech32 starting with
"iotaprivkey" to a string.
string ToBech32()
Returns
Exceptions
ToBytes()
Serialize this private key to bytes.
Byte[] ToBytes()
Returns
ToDer()
Serialize this private key as DER-encoded PKCS#8
Byte[] ToDer()
Returns
Exceptions
ToPem()
Serialize this private key as PEM-encoded PKCS#8
string ToPem()
Returns
Exceptions
TrySign(Byte[])
Ed25519Signature TrySign(Byte[] message)
Parameters
message Byte[]
Returns
Exceptions
TrySignSimple(Byte[])
SimpleSignature TrySignSimple(Byte[] message)
Parameters
message Byte[]
Returns
Exceptions
TrySignUser(Byte[])
UserSignature TrySignUser(Byte[] message)
Parameters
message Byte[]
Returns
Exceptions
VerifyingKey()
Ed25519VerifyingKey VerifyingKey()