CertificateDigest
Namespace: IotaSdk
The digest of a certificate.
public class CertificateDigest : ICertificateDigest, System.IEquatable`1[[IotaSdk.CertificateDigest, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable
Inheritance Object → CertificateDigest
Implements ICertificateDigest, IEquatable<CertificateDigest>, IDisposable
Attributes NullableContextAttribute, NullableAttribute
Constructors
CertificateDigest(UInt64)
public CertificateDigest(ulong pointer)
Parameters
pointer UInt64
Methods
Destroy()
public void Destroy()
Dispose()
public void Dispose()
NextLexicographical()
Returns the next digest in byte-increasing order.
public CertificateDigest NextLexicographical()
Returns
NextLexicographicalOpt()
Returns the next digest in byte-increasing order, or None if the result would
overflow.
public CertificateDigest? NextLexicographicalOpt()
Returns
ToBase58()
public string ToBase58()
Returns
ToBcs()
Convert this type to BCS encoded bytes.
public Byte[] ToBcs()
Returns
Exceptions
ToBytes()
public Byte[] ToBytes()
Returns
ToDisplayString()
Render this type as human-readable text.
Some types also print this through the binding's native string conversion; this method is the spelling every object type has.
The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.
public string ToDisplayString()
Returns
ToJson()
Convert this type to a JSON encoded string.
public string ToJson()
Returns
Exceptions
ToString()
public override string ToString()
Returns
Equals(CertificateDigest)
public bool Equals(CertificateDigest? other)
Parameters
other CertificateDigest?
Returns
Equals(Object)
public override bool Equals(object? obj)
Parameters
obj Object?
Returns
GetHashCode()
public override int GetHashCode()
Returns
FromBase58(String)
public static CertificateDigest FromBase58(string base58)
Parameters
base58 String
Returns
Exceptions
FromBcs(Byte[])
Create this type from BCS encoded bytes.
public static CertificateDigest FromBcs(Byte[] bcs)
Parameters
bcs Byte[]
Returns
Exceptions
FromBytes(Byte[])
public static CertificateDigest FromBytes(Byte[] bytes)
Parameters
bytes Byte[]
Returns
Exceptions
FromJson(String)
Create this type from a JSON encoded string.
public static CertificateDigest FromJson(string json)
Parameters
json String
Returns
Exceptions
Random()
public static CertificateDigest Random()