Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UnsupportedKeyErr = errors.New("key unsupported")
)
Functions ¶
This section is empty.
Types ¶
type AccessTokenSigner ¶
type CardCrypto ¶
type CardCrypto interface { GenerateSignature(data []byte, key interface { IsPrivate() bool Identifier() []byte }) ([]byte, error) VerifySignature(data []byte, signature []byte, key interface { IsPublic() bool Identifier() []byte }) error ExportPublicKey(key interface { IsPublic() bool Identifier() []byte }) ([]byte, error) ImportPublicKey(publicKeySrc []byte) (interface { IsPublic() bool Identifier() []byte }, error) GenerateSHA512(data []byte) []byte }
type PrivateKey ¶
type PrivateKeyExporter ¶
type PrivateKeyStorage ¶
Click to show internal directories.
Click to hide internal directories.