Versions in this module Expand all Collapse all v0 v0.1.3 May 6, 2020 v0.1.2 Feb 26, 2020 Changes in this version + func NewMockProvider(kp ...*cryptoutil.MessagingKeys) (*mockprovider.Provider, error) + type CloseableKMS struct + CreateEncryptionKeyValue string + CreateKeyErr error + CreateSigningKeyValue string + DecryptMessageErr error + DecryptMessageValue []byte + EncryptionKeyErr error + EncryptionKeyValue []byte + FindVerKeyErr error + FindVerKeyValue int + MockDID *did.Doc + PackErr error + PackValue []byte + SignMessageErr error + SignMessageValue []byte + UnpackErr error + UnpackValue *transport.Envelope + func (m *CloseableKMS) Close() error + func (m *CloseableKMS) ConvertToEncryptionKey(key []byte) ([]byte, error) + func (m *CloseableKMS) CreateKeySet() (string, string, error) + func (m *CloseableKMS) DeriveKEK(alg, apu, fromKey, toPubKey []byte) ([]byte, error) + func (m *CloseableKMS) FindVerKey(candidateKeys []string) (int, error) + func (m *CloseableKMS) GetEncryptionKey(verKey []byte) ([]byte, error) + func (m *CloseableKMS) SignMessage(message []byte, fromVerKey string) ([]byte, error)