Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptAES256CBC ¶
Types ¶
type SharedSecret ¶
type SharedSecret struct {}
func NewSharedSecret ¶
func NewSharedSecret(peerKey *cose.Key) (*SharedSecret, error)
func (*SharedSecret) DecryptPinToken ¶
func (s *SharedSecret) DecryptPinToken(data []byte) (*PinToken, error)
func (*SharedSecret) EncryptPin ¶
func (s *SharedSecret) EncryptPin(pin string) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.