Documentation ¶
Index ¶
- type Service
- func (s *Service) Create(kt arieskms.KeyType) (string, interface{}, error)
- func (s *Service) ExportPubKeyBytes(keyURI string) ([]byte, arieskms.KeyType, error)
- func (s *Service) Get(keyID string) (interface{}, error)
- func (s *Service) ImportPrivateKey(privKey interface{}, kt arieskms.KeyType, opts ...arieskms.PrivateKeyOpts) (string, interface{}, error)
- func (s *Service) Sign(msg []byte, kh interface{}) ([]byte, error)
- func (s *Service) Verify(signature, msg []byte, kh interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service aws kms.
func (*Service) ExportPubKeyBytes ¶
ExportPubKeyBytes export public key.
func (*Service) ImportPrivateKey ¶
func (s *Service) ImportPrivateKey(privKey interface{}, kt arieskms.KeyType, opts ...arieskms.PrivateKeyOpts) (string, interface{}, error)
ImportPrivateKey private key.
Click to show internal directories.
Click to hide internal directories.