Ed25519VerifyingKey
Namespace: IotaSdk
public class Ed25519VerifyingKey : IEd25519VerifyingKey, System.IEquatable`1[[IotaSdk.Ed25519VerifyingKey, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → Ed25519VerifyingKey
Implements IEd25519VerifyingKey, IEquatable<Ed25519VerifyingKey>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
Ed25519VerifyingKey(UInt64)
public Ed25519VerifyingKey(ulong pointer)
Parameters
pointer UInt64
Ed25519VerifyingKey(Ed25519PublicKey)
public Ed25519VerifyingKey(Ed25519PublicKey publicKey)
Parameters
publicKey Ed25519PublicKey
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
PublicKey()
public Ed25519PublicKey PublicKey()
Returns
ToDer()
Serialize this public key as DER-encoded data
public Byte[] ToDer()
Returns
Exceptions
ToPem()
Serialize this public key into PEM format
public string ToPem()
Returns
Exceptions
Verify(Byte[], Ed25519Signature)
public void Verify(Byte[] message, Ed25519Signature signature)
Parameters
message Byte[]
signature Ed25519Signature
Exceptions
VerifySimple(Byte[], SimpleSignature)
public void VerifySimple(Byte[] message, SimpleSignature signature)
Parameters
message Byte[]
signature SimpleSignature
Exceptions
VerifyUser(Byte[], UserSignature)
public void VerifyUser(Byte[] message, UserSignature signature)
Parameters
message Byte[]
signature UserSignature
Exceptions
Equals(Ed25519VerifyingKey)
public bool Equals(Ed25519VerifyingKey? other)
Parameters
other Ed25519VerifyingKey?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
FromDer(Byte[])
Deserialize public key from ASN.1 DER-encoded data (binary format).
public static Ed25519VerifyingKey FromDer(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
FromPem(String)
Deserialize public key from PEM.
public static Ed25519VerifyingKey FromPem(string s)
Parameters
s String