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