kms

package
v0.0.0-...-417428f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KMSCrypto

type KMSCrypto struct {
	// contains filtered or unexported fields
}

KMSCrypto provides access to "kms" component of Yandex.Cloud

func NewKMSCrypto

func NewKMSCrypto(g func(ctx context.Context) (*grpc.ClientConn, error)) *KMSCrypto

NewKMSCrypto creates instance of KMSCrypto

func (*KMSCrypto) SymmetricCrypto

func (k *KMSCrypto) SymmetricCrypto() *SymmetricCryptoServiceClient

SymmetricCrypto gets SymmetricCryptoService client

type SymmetricCryptoServiceClient

type SymmetricCryptoServiceClient struct {
	// contains filtered or unexported fields
}

SymmetricCryptoServiceClient is a kms.SymmetricCryptoServiceClient with lazy GRPC connection initialization.

func (*SymmetricCryptoServiceClient) Decrypt

Decrypt implements kms.SymmetricCryptoServiceClient

func (*SymmetricCryptoServiceClient) Encrypt

Encrypt implements kms.SymmetricCryptoServiceClient

func (*SymmetricCryptoServiceClient) GenerateDataKey

GenerateDataKey implements kms.SymmetricCryptoServiceClient

func (*SymmetricCryptoServiceClient) ReEncrypt

ReEncrypt implements kms.SymmetricCryptoServiceClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL