Skip to main content

CertificateDigest

type CertificateDigest​

The digest of a certificate.

type CertificateDigest struct {
// contains filtered or unexported fields
}

func CertificateDigestFromBase58​

func CertificateDigestFromBase58(base58 string) (*CertificateDigest, error)

func CertificateDigestFromBcs​

func CertificateDigestFromBcs(bcs []byte) (*CertificateDigest, error)

Create this type from BCS encoded bytes.

func CertificateDigestFromBytes​

func CertificateDigestFromBytes(bytes []byte) (*CertificateDigest, error)

func CertificateDigestFromJson​

func CertificateDigestFromJson(json string) (*CertificateDigest, error)

Create this type from a JSON encoded string.

func CertificateDigestRandom​

func CertificateDigestRandom() *CertificateDigest

func LiftFromExternalCertificateDigest​

func LiftFromExternalCertificateDigest(handle uint64) *CertificateDigest

func (*CertificateDigest) DebugString​

func (_self *CertificateDigest) DebugString() string

func (*CertificateDigest) Destroy​

func (object *CertificateDigest) Destroy()

func (*CertificateDigest) Eq​

func (_self *CertificateDigest) Eq(other *CertificateDigest) bool

func (*CertificateDigest) Hash​

func (_self *CertificateDigest) Hash() uint64

func (*CertificateDigest) Ne​

func (_self *CertificateDigest) Ne(other *CertificateDigest) bool

func (*CertificateDigest) NextLexicographical​

func (_self *CertificateDigest) NextLexicographical() *CertificateDigest

Returns the next digest in byte-increasing order.

func (*CertificateDigest) NextLexicographicalOpt​

func (_self *CertificateDigest) NextLexicographicalOpt() **CertificateDigest

Returns the next digest in byte-increasing order, or `None` if the result would overflow.

func (*CertificateDigest) String​

func (_self *CertificateDigest) String() string

func (*CertificateDigest) ToBase58​

func (_self *CertificateDigest) ToBase58() string

func (*CertificateDigest) ToBcs​

func (_self *CertificateDigest) ToBcs() ([]byte, error)

Convert this type to BCS encoded bytes.

func (*CertificateDigest) ToBytes​

func (_self *CertificateDigest) ToBytes() []byte

func (*CertificateDigest) ToDisplayString​

func (_self *CertificateDigest) ToDisplayString() string

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.

func (*CertificateDigest) ToJson​

func (_self *CertificateDigest) ToJson() (string, error)

Convert this type to a JSON encoded string.