Versions in this module Expand all Collapse all v1 v1.0.0 Sep 9, 2017 Changes in this version + func NewAesGcmKey(keySize uint32) *AesGcmKey + func NewAesGcmKeyData(keySize uint32) *KeyData + func NewDummyKey(keyId int, status KeyStatusType, outputPrefixType OutputPrefixType) *Keyset_Key + func NewEcdsaPrivateKey(hashType HashType, curve EllipticCurveType) *EcdsaPrivateKey + func NewEcdsaPrivateKeyData(hashType HashType, curve EllipticCurveType) *KeyData + func NewEcdsaPublicKey(hashType HashType, curve EllipticCurveType) *EcdsaPublicKey + func NewHmacKey(hashType HashType, tagSize uint32) *HmacKey + func NewHmacKeyData(hashType HashType, tagSize uint32) *KeyData + func NewHmacKeyFormat(hashType HashType, tagSize uint32) *HmacKeyFormat + func NewHmacKeysetManager() *tink.KeysetManager + func NewSerializedAesGcmKey(keySize uint32) []byte + func NewTestAesGcmKeyset(primaryOutputPrefixType OutputPrefixType) *Keyset + func NewTestHmacKeyset(tagSize uint32, primaryOutputPrefixType OutputPrefixType) *Keyset + func NewTestKeyset(keyData *KeyData, primaryOutputPrefixType OutputPrefixType) *Keyset + type DummyAead struct + func (_ *DummyAead) Decrypt(ciphertext []byte, additionalData []byte) ([]byte, error) + func (_ *DummyAead) Encrypt(plaintext []byte, additionalData []byte) ([]byte, error) + type DummyAeadKeyManager struct + func (_ *DummyAeadKeyManager) DoesSupport(typeUrl string) bool + func (_ *DummyAeadKeyManager) GetKeyType() string + func (_ *DummyAeadKeyManager) GetPrimitiveFromKey(m proto.Message) (interface{}, error) + func (_ *DummyAeadKeyManager) GetPrimitiveFromSerializedKey(serializedKey []byte) (interface{}, error) + func (_ *DummyAeadKeyManager) NewKeyData(serializedKeyFormat []byte) (*KeyData, error) + func (_ *DummyAeadKeyManager) NewKeyFromKeyFormat(m proto.Message) (proto.Message, error) + func (_ *DummyAeadKeyManager) NewKeyFromSerializedKeyFormat(serializedKeyFormat []byte) (proto.Message, error) + type DummyMac struct + Name string + func (h *DummyMac) ComputeMac(data []byte) ([]byte, error) + func (h *DummyMac) VerifyMac(mac []byte, data []byte) (bool, error)