Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtendedSerializer ¶
type ExtendedSerializer interface {
Serialize() ([]byte, error)
SerializeWithIDOfCert() ([]byte, error)
}
ExtendedSerializer is an interface which wraps the Serialize and SerializeWithIDOfCert functions.
type ExtendedSignerSerializer ¶
type ExtendedSignerSerializer interface {
Signer
ExtendedSerializer
}
ExtendedSignerSerializer groups the Sign and ExtendedSignerSerializer methods.
type Serializer ¶
Serializer is an interface which wraps the Serialize function.
Serialize converts an identity to bytes. It returns an error on failure.
type Signer ¶
Signer is an interface which wraps the Sign method.
Sign signs message bytes and returns the signature or an error on failure.
type SignerSerializer ¶
type SignerSerializer interface {
Signer
Serializer
}
SignerSerializer groups the Sign and Serialize methods.
Click to show internal directories.
Click to hide internal directories.