kubernetes/staging/src/k8s.io/kms/internal/plugins/_mock/pkcs11/pkcs11.go

const mockAnnotationKey

var _

type pkcs11RemoteService

// NewPKCS11RemoteService creates a new PKCS11 remote service with SoftHSMv2 configuration file and keyID
func NewPKCS11RemoteService(configFilePath, keyID string) (service.Service, error) {}

func (s *pkcs11RemoteService) Encrypt(ctx context.Context, uid string, plaintext []byte) (*service.EncryptResponse, error) {}

func (s *pkcs11RemoteService) Decrypt(ctx context.Context, uid string, req *service.DecryptRequest) ([]byte, error) {}

func (s *pkcs11RemoteService) Status(ctx context.Context) (*service.StatusResponse, error) {}