v0

package
v8.0.0-...-7c4b7c9 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VaultService_ListMyKeys_FullMethodName               = "/com.digitalasset.canton.crypto.admin.v0.VaultService/ListMyKeys"
	VaultService_GenerateSigningKey_FullMethodName       = "/com.digitalasset.canton.crypto.admin.v0.VaultService/GenerateSigningKey"
	VaultService_GenerateEncryptionKey_FullMethodName    = "/com.digitalasset.canton.crypto.admin.v0.VaultService/GenerateEncryptionKey"
	VaultService_RegisterKmsEncryptionKey_FullMethodName = "/com.digitalasset.canton.crypto.admin.v0.VaultService/RegisterKmsEncryptionKey"
	VaultService_RegisterKmsSigningKey_FullMethodName    = "/com.digitalasset.canton.crypto.admin.v0.VaultService/RegisterKmsSigningKey"
	VaultService_ImportPublicKey_FullMethodName          = "/com.digitalasset.canton.crypto.admin.v0.VaultService/ImportPublicKey"
	VaultService_ListPublicKeys_FullMethodName           = "/com.digitalasset.canton.crypto.admin.v0.VaultService/ListPublicKeys"
	VaultService_RotateWrapperKey_FullMethodName         = "/com.digitalasset.canton.crypto.admin.v0.VaultService/RotateWrapperKey"
	VaultService_GetWrapperKeyId_FullMethodName          = "/com.digitalasset.canton.crypto.admin.v0.VaultService/GetWrapperKeyId"
	VaultService_ExportKeyPair_FullMethodName            = "/com.digitalasset.canton.crypto.admin.v0.VaultService/ExportKeyPair"
	VaultService_ImportKeyPair_FullMethodName            = "/com.digitalasset.canton.crypto.admin.v0.VaultService/ImportKeyPair"
	VaultService_DeleteKeyPair_FullMethodName            = "/com.digitalasset.canton.crypto.admin.v0.VaultService/DeleteKeyPair"
)

Variables

View Source
var File_com_digitalasset_canton_crypto_admin_v0_vault_service_proto protoreflect.FileDescriptor
View Source
var VaultService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "com.digitalasset.canton.crypto.admin.v0.VaultService",
	HandlerType: (*VaultServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListMyKeys",
			Handler:    _VaultService_ListMyKeys_Handler,
		},
		{
			MethodName: "GenerateSigningKey",
			Handler:    _VaultService_GenerateSigningKey_Handler,
		},
		{
			MethodName: "GenerateEncryptionKey",
			Handler:    _VaultService_GenerateEncryptionKey_Handler,
		},
		{
			MethodName: "RegisterKmsEncryptionKey",
			Handler:    _VaultService_RegisterKmsEncryptionKey_Handler,
		},
		{
			MethodName: "RegisterKmsSigningKey",
			Handler:    _VaultService_RegisterKmsSigningKey_Handler,
		},
		{
			MethodName: "ImportPublicKey",
			Handler:    _VaultService_ImportPublicKey_Handler,
		},
		{
			MethodName: "ListPublicKeys",
			Handler:    _VaultService_ListPublicKeys_Handler,
		},
		{
			MethodName: "RotateWrapperKey",
			Handler:    _VaultService_RotateWrapperKey_Handler,
		},
		{
			MethodName: "GetWrapperKeyId",
			Handler:    _VaultService_GetWrapperKeyId_Handler,
		},
		{
			MethodName: "ExportKeyPair",
			Handler:    _VaultService_ExportKeyPair_Handler,
		},
		{
			MethodName: "ImportKeyPair",
			Handler:    _VaultService_ImportKeyPair_Handler,
		},
		{
			MethodName: "DeleteKeyPair",
			Handler:    _VaultService_DeleteKeyPair_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "com/digitalasset/canton/crypto/admin/v0/vault_service.proto",
}

VaultService_ServiceDesc is the grpc.ServiceDesc for VaultService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterVaultServiceServer

func RegisterVaultServiceServer(s grpc.ServiceRegistrar, srv VaultServiceServer)

Types

type DeleteKeyPairRequest

type DeleteKeyPairRequest struct {
	Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteKeyPairRequest) Descriptor deprecated

func (*DeleteKeyPairRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyPairRequest.ProtoReflect.Descriptor instead.

func (*DeleteKeyPairRequest) GetFingerprint

func (x *DeleteKeyPairRequest) GetFingerprint() string

func (*DeleteKeyPairRequest) ProtoMessage

func (*DeleteKeyPairRequest) ProtoMessage()

func (*DeleteKeyPairRequest) ProtoReflect

func (x *DeleteKeyPairRequest) ProtoReflect() protoreflect.Message

func (*DeleteKeyPairRequest) Reset

func (x *DeleteKeyPairRequest) Reset()

func (*DeleteKeyPairRequest) String

func (x *DeleteKeyPairRequest) String() string

type DeleteKeyPairResponse

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

func (*DeleteKeyPairResponse) Descriptor deprecated

func (*DeleteKeyPairResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteKeyPairResponse.ProtoReflect.Descriptor instead.

func (*DeleteKeyPairResponse) ProtoMessage

func (*DeleteKeyPairResponse) ProtoMessage()

func (*DeleteKeyPairResponse) ProtoReflect

func (x *DeleteKeyPairResponse) ProtoReflect() protoreflect.Message

func (*DeleteKeyPairResponse) Reset

func (x *DeleteKeyPairResponse) Reset()

func (*DeleteKeyPairResponse) String

func (x *DeleteKeyPairResponse) String() string

type ExportKeyPairRequest

type ExportKeyPairRequest struct {
	Fingerprint     string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	ProtocolVersion int32  `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportKeyPairRequest) Descriptor deprecated

func (*ExportKeyPairRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportKeyPairRequest.ProtoReflect.Descriptor instead.

func (*ExportKeyPairRequest) GetFingerprint

func (x *ExportKeyPairRequest) GetFingerprint() string

func (*ExportKeyPairRequest) GetProtocolVersion

func (x *ExportKeyPairRequest) GetProtocolVersion() int32

func (*ExportKeyPairRequest) ProtoMessage

func (*ExportKeyPairRequest) ProtoMessage()

func (*ExportKeyPairRequest) ProtoReflect

func (x *ExportKeyPairRequest) ProtoReflect() protoreflect.Message

func (*ExportKeyPairRequest) Reset

func (x *ExportKeyPairRequest) Reset()

func (*ExportKeyPairRequest) String

func (x *ExportKeyPairRequest) String() string

type ExportKeyPairResponse

type ExportKeyPairResponse struct {
	KeyPair []byte `protobuf:"bytes,1,opt,name=key_pair,json=keyPair,proto3" json:"key_pair,omitempty"`
	// contains filtered or unexported fields
}

func (*ExportKeyPairResponse) Descriptor deprecated

func (*ExportKeyPairResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportKeyPairResponse.ProtoReflect.Descriptor instead.

func (*ExportKeyPairResponse) GetKeyPair

func (x *ExportKeyPairResponse) GetKeyPair() []byte

func (*ExportKeyPairResponse) ProtoMessage

func (*ExportKeyPairResponse) ProtoMessage()

func (*ExportKeyPairResponse) ProtoReflect

func (x *ExportKeyPairResponse) ProtoReflect() protoreflect.Message

func (*ExportKeyPairResponse) Reset

func (x *ExportKeyPairResponse) Reset()

func (*ExportKeyPairResponse) String

func (x *ExportKeyPairResponse) String() string

type GenerateCertificateRequest

type GenerateCertificateRequest struct {
	UniqueIdentifier        string   `protobuf:"bytes,1,opt,name=unique_identifier,json=uniqueIdentifier,proto3" json:"unique_identifier,omitempty"`
	CertificateKey          string   `protobuf:"bytes,2,opt,name=certificate_key,json=certificateKey,proto3" json:"certificate_key,omitempty"`
	AdditionalSubject       string   `protobuf:"bytes,3,opt,name=additional_subject,json=additionalSubject,proto3" json:"additional_subject,omitempty"`
	SubjectAlternativeNames []string `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GenerateCertificateRequest) Descriptor deprecated

func (*GenerateCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateCertificateRequest.ProtoReflect.Descriptor instead.

func (*GenerateCertificateRequest) GetAdditionalSubject

func (x *GenerateCertificateRequest) GetAdditionalSubject() string

func (*GenerateCertificateRequest) GetCertificateKey

func (x *GenerateCertificateRequest) GetCertificateKey() string

func (*GenerateCertificateRequest) GetSubjectAlternativeNames

func (x *GenerateCertificateRequest) GetSubjectAlternativeNames() []string

func (*GenerateCertificateRequest) GetUniqueIdentifier

func (x *GenerateCertificateRequest) GetUniqueIdentifier() string

func (*GenerateCertificateRequest) ProtoMessage

func (*GenerateCertificateRequest) ProtoMessage()

func (*GenerateCertificateRequest) ProtoReflect

func (*GenerateCertificateRequest) Reset

func (x *GenerateCertificateRequest) Reset()

func (*GenerateCertificateRequest) String

func (x *GenerateCertificateRequest) String() string

type GenerateCertificateResponse

type GenerateCertificateResponse struct {
	X509Cert string `protobuf:"bytes,1,opt,name=x509_cert,json=x509Cert,proto3" json:"x509_cert,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateCertificateResponse) Descriptor deprecated

func (*GenerateCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateCertificateResponse.ProtoReflect.Descriptor instead.

func (*GenerateCertificateResponse) GetX509Cert

func (x *GenerateCertificateResponse) GetX509Cert() string

func (*GenerateCertificateResponse) ProtoMessage

func (*GenerateCertificateResponse) ProtoMessage()

func (*GenerateCertificateResponse) ProtoReflect

func (*GenerateCertificateResponse) Reset

func (x *GenerateCertificateResponse) Reset()

func (*GenerateCertificateResponse) String

func (x *GenerateCertificateResponse) String() string

type GenerateEncryptionKeyRequest

type GenerateEncryptionKeyRequest struct {
	KeyScheme v0.EncryptionKeyScheme `` /* 148-byte string literal not displayed */
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateEncryptionKeyRequest) Descriptor deprecated

func (*GenerateEncryptionKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateEncryptionKeyRequest.ProtoReflect.Descriptor instead.

func (*GenerateEncryptionKeyRequest) GetKeyScheme

func (*GenerateEncryptionKeyRequest) GetName

func (x *GenerateEncryptionKeyRequest) GetName() string

func (*GenerateEncryptionKeyRequest) ProtoMessage

func (*GenerateEncryptionKeyRequest) ProtoMessage()

func (*GenerateEncryptionKeyRequest) ProtoReflect

func (*GenerateEncryptionKeyRequest) Reset

func (x *GenerateEncryptionKeyRequest) Reset()

func (*GenerateEncryptionKeyRequest) String

type GenerateEncryptionKeyResponse

type GenerateEncryptionKeyResponse struct {
	PublicKey *v0.EncryptionPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateEncryptionKeyResponse) Descriptor deprecated

func (*GenerateEncryptionKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateEncryptionKeyResponse.ProtoReflect.Descriptor instead.

func (*GenerateEncryptionKeyResponse) GetPublicKey

func (*GenerateEncryptionKeyResponse) ProtoMessage

func (*GenerateEncryptionKeyResponse) ProtoMessage()

func (*GenerateEncryptionKeyResponse) ProtoReflect

func (*GenerateEncryptionKeyResponse) Reset

func (x *GenerateEncryptionKeyResponse) Reset()

func (*GenerateEncryptionKeyResponse) String

type GenerateSigningKeyRequest

type GenerateSigningKeyRequest struct {
	KeyScheme v0.SigningKeyScheme `` /* 145-byte string literal not displayed */
	Name      string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateSigningKeyRequest) Descriptor deprecated

func (*GenerateSigningKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateSigningKeyRequest.ProtoReflect.Descriptor instead.

func (*GenerateSigningKeyRequest) GetKeyScheme

func (x *GenerateSigningKeyRequest) GetKeyScheme() v0.SigningKeyScheme

func (*GenerateSigningKeyRequest) GetName

func (x *GenerateSigningKeyRequest) GetName() string

func (*GenerateSigningKeyRequest) ProtoMessage

func (*GenerateSigningKeyRequest) ProtoMessage()

func (*GenerateSigningKeyRequest) ProtoReflect

func (*GenerateSigningKeyRequest) Reset

func (x *GenerateSigningKeyRequest) Reset()

func (*GenerateSigningKeyRequest) String

func (x *GenerateSigningKeyRequest) String() string

type GenerateSigningKeyResponse

type GenerateSigningKeyResponse struct {
	PublicKey *v0.SigningPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateSigningKeyResponse) Descriptor deprecated

func (*GenerateSigningKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateSigningKeyResponse.ProtoReflect.Descriptor instead.

func (*GenerateSigningKeyResponse) GetPublicKey

func (x *GenerateSigningKeyResponse) GetPublicKey() *v0.SigningPublicKey

func (*GenerateSigningKeyResponse) ProtoMessage

func (*GenerateSigningKeyResponse) ProtoMessage()

func (*GenerateSigningKeyResponse) ProtoReflect

func (*GenerateSigningKeyResponse) Reset

func (x *GenerateSigningKeyResponse) Reset()

func (*GenerateSigningKeyResponse) String

func (x *GenerateSigningKeyResponse) String() string

type GetWrapperKeyIdRequest

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

func (*GetWrapperKeyIdRequest) Descriptor deprecated

func (*GetWrapperKeyIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWrapperKeyIdRequest.ProtoReflect.Descriptor instead.

func (*GetWrapperKeyIdRequest) ProtoMessage

func (*GetWrapperKeyIdRequest) ProtoMessage()

func (*GetWrapperKeyIdRequest) ProtoReflect

func (x *GetWrapperKeyIdRequest) ProtoReflect() protoreflect.Message

func (*GetWrapperKeyIdRequest) Reset

func (x *GetWrapperKeyIdRequest) Reset()

func (*GetWrapperKeyIdRequest) String

func (x *GetWrapperKeyIdRequest) String() string

type GetWrapperKeyIdResponse

type GetWrapperKeyIdResponse struct {
	WrapperKeyId string `protobuf:"bytes,1,opt,name=wrapper_key_id,json=wrapperKeyId,proto3" json:"wrapper_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWrapperKeyIdResponse) Descriptor deprecated

func (*GetWrapperKeyIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWrapperKeyIdResponse.ProtoReflect.Descriptor instead.

func (*GetWrapperKeyIdResponse) GetWrapperKeyId

func (x *GetWrapperKeyIdResponse) GetWrapperKeyId() string

func (*GetWrapperKeyIdResponse) ProtoMessage

func (*GetWrapperKeyIdResponse) ProtoMessage()

func (*GetWrapperKeyIdResponse) ProtoReflect

func (x *GetWrapperKeyIdResponse) ProtoReflect() protoreflect.Message

func (*GetWrapperKeyIdResponse) Reset

func (x *GetWrapperKeyIdResponse) Reset()

func (*GetWrapperKeyIdResponse) String

func (x *GetWrapperKeyIdResponse) String() string

type ImportCertificateRequest

type ImportCertificateRequest struct {
	X509Cert string `protobuf:"bytes,1,opt,name=x509_cert,json=x509Cert,proto3" json:"x509_cert,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportCertificateRequest) Descriptor deprecated

func (*ImportCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportCertificateRequest.ProtoReflect.Descriptor instead.

func (*ImportCertificateRequest) GetX509Cert

func (x *ImportCertificateRequest) GetX509Cert() string

func (*ImportCertificateRequest) ProtoMessage

func (*ImportCertificateRequest) ProtoMessage()

func (*ImportCertificateRequest) ProtoReflect

func (x *ImportCertificateRequest) ProtoReflect() protoreflect.Message

func (*ImportCertificateRequest) Reset

func (x *ImportCertificateRequest) Reset()

func (*ImportCertificateRequest) String

func (x *ImportCertificateRequest) String() string

type ImportCertificateResponse

type ImportCertificateResponse struct {
	CertificateId string `protobuf:"bytes,1,opt,name=certificate_id,json=certificateId,proto3" json:"certificate_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportCertificateResponse) Descriptor deprecated

func (*ImportCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportCertificateResponse.ProtoReflect.Descriptor instead.

func (*ImportCertificateResponse) GetCertificateId

func (x *ImportCertificateResponse) GetCertificateId() string

func (*ImportCertificateResponse) ProtoMessage

func (*ImportCertificateResponse) ProtoMessage()

func (*ImportCertificateResponse) ProtoReflect

func (*ImportCertificateResponse) Reset

func (x *ImportCertificateResponse) Reset()

func (*ImportCertificateResponse) String

func (x *ImportCertificateResponse) String() string

type ImportKeyPairRequest

type ImportKeyPairRequest struct {
	KeyPair []byte `protobuf:"bytes,1,opt,name=key_pair,json=keyPair,proto3" json:"key_pair,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportKeyPairRequest) Descriptor deprecated

func (*ImportKeyPairRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportKeyPairRequest.ProtoReflect.Descriptor instead.

func (*ImportKeyPairRequest) GetKeyPair

func (x *ImportKeyPairRequest) GetKeyPair() []byte

func (*ImportKeyPairRequest) GetName

func (x *ImportKeyPairRequest) GetName() string

func (*ImportKeyPairRequest) ProtoMessage

func (*ImportKeyPairRequest) ProtoMessage()

func (*ImportKeyPairRequest) ProtoReflect

func (x *ImportKeyPairRequest) ProtoReflect() protoreflect.Message

func (*ImportKeyPairRequest) Reset

func (x *ImportKeyPairRequest) Reset()

func (*ImportKeyPairRequest) String

func (x *ImportKeyPairRequest) String() string

type ImportKeyPairResponse

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

func (*ImportKeyPairResponse) Descriptor deprecated

func (*ImportKeyPairResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportKeyPairResponse.ProtoReflect.Descriptor instead.

func (*ImportKeyPairResponse) ProtoMessage

func (*ImportKeyPairResponse) ProtoMessage()

func (*ImportKeyPairResponse) ProtoReflect

func (x *ImportKeyPairResponse) ProtoReflect() protoreflect.Message

func (*ImportKeyPairResponse) Reset

func (x *ImportKeyPairResponse) Reset()

func (*ImportKeyPairResponse) String

func (x *ImportKeyPairResponse) String() string

type ImportPublicKeyRequest

type ImportPublicKeyRequest struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportPublicKeyRequest) Descriptor deprecated

func (*ImportPublicKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ImportPublicKeyRequest.ProtoReflect.Descriptor instead.

func (*ImportPublicKeyRequest) GetName

func (x *ImportPublicKeyRequest) GetName() string

func (*ImportPublicKeyRequest) GetPublicKey

func (x *ImportPublicKeyRequest) GetPublicKey() []byte

func (*ImportPublicKeyRequest) ProtoMessage

func (*ImportPublicKeyRequest) ProtoMessage()

func (*ImportPublicKeyRequest) ProtoReflect

func (x *ImportPublicKeyRequest) ProtoReflect() protoreflect.Message

func (*ImportPublicKeyRequest) Reset

func (x *ImportPublicKeyRequest) Reset()

func (*ImportPublicKeyRequest) String

func (x *ImportPublicKeyRequest) String() string

type ImportPublicKeyResponse

type ImportPublicKeyResponse struct {
	Fingerprint string `protobuf:"bytes,1,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*ImportPublicKeyResponse) Descriptor deprecated

func (*ImportPublicKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ImportPublicKeyResponse.ProtoReflect.Descriptor instead.

func (*ImportPublicKeyResponse) GetFingerprint

func (x *ImportPublicKeyResponse) GetFingerprint() string

func (*ImportPublicKeyResponse) ProtoMessage

func (*ImportPublicKeyResponse) ProtoMessage()

func (*ImportPublicKeyResponse) ProtoReflect

func (x *ImportPublicKeyResponse) ProtoReflect() protoreflect.Message

func (*ImportPublicKeyResponse) Reset

func (x *ImportPublicKeyResponse) Reset()

func (*ImportPublicKeyResponse) String

func (x *ImportPublicKeyResponse) String() string

type ListCertificateRequest

type ListCertificateRequest struct {
	FilterUid string `protobuf:"bytes,1,opt,name=filterUid,proto3" json:"filterUid,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificateRequest) Descriptor deprecated

func (*ListCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCertificateRequest.ProtoReflect.Descriptor instead.

func (*ListCertificateRequest) GetFilterUid

func (x *ListCertificateRequest) GetFilterUid() string

func (*ListCertificateRequest) ProtoMessage

func (*ListCertificateRequest) ProtoMessage()

func (*ListCertificateRequest) ProtoReflect

func (x *ListCertificateRequest) ProtoReflect() protoreflect.Message

func (*ListCertificateRequest) Reset

func (x *ListCertificateRequest) Reset()

func (*ListCertificateRequest) String

func (x *ListCertificateRequest) String() string

type ListCertificateResponse

type ListCertificateResponse struct {
	Results []*ListCertificateResponse_Result `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificateResponse) Descriptor deprecated

func (*ListCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCertificateResponse.ProtoReflect.Descriptor instead.

func (*ListCertificateResponse) GetResults

func (*ListCertificateResponse) ProtoMessage

func (*ListCertificateResponse) ProtoMessage()

func (*ListCertificateResponse) ProtoReflect

func (x *ListCertificateResponse) ProtoReflect() protoreflect.Message

func (*ListCertificateResponse) Reset

func (x *ListCertificateResponse) Reset()

func (*ListCertificateResponse) String

func (x *ListCertificateResponse) String() string

type ListCertificateResponse_Result

type ListCertificateResponse_Result struct {
	X509Cert string `protobuf:"bytes,1,opt,name=x509_cert,json=x509Cert,proto3" json:"x509_cert,omitempty"`
	// contains filtered or unexported fields
}

func (*ListCertificateResponse_Result) Descriptor deprecated

func (*ListCertificateResponse_Result) Descriptor() ([]byte, []int)

Deprecated: Use ListCertificateResponse_Result.ProtoReflect.Descriptor instead.

func (*ListCertificateResponse_Result) GetX509Cert

func (x *ListCertificateResponse_Result) GetX509Cert() string

func (*ListCertificateResponse_Result) ProtoMessage

func (*ListCertificateResponse_Result) ProtoMessage()

func (*ListCertificateResponse_Result) ProtoReflect

func (*ListCertificateResponse_Result) Reset

func (x *ListCertificateResponse_Result) Reset()

func (*ListCertificateResponse_Result) String

type ListKeysRequest

type ListKeysRequest struct {
	FilterFingerprint string          `protobuf:"bytes,1,opt,name=filter_fingerprint,json=filterFingerprint,proto3" json:"filter_fingerprint,omitempty"`
	FilterName        string          `protobuf:"bytes,2,opt,name=filter_name,json=filterName,proto3" json:"filter_name,omitempty"`
	FilterPurpose     []v0.KeyPurpose `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListKeysRequest) Descriptor deprecated

func (*ListKeysRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysRequest.ProtoReflect.Descriptor instead.

func (*ListKeysRequest) GetFilterFingerprint

func (x *ListKeysRequest) GetFilterFingerprint() string

func (*ListKeysRequest) GetFilterName

func (x *ListKeysRequest) GetFilterName() string

func (*ListKeysRequest) GetFilterPurpose

func (x *ListKeysRequest) GetFilterPurpose() []v0.KeyPurpose

func (*ListKeysRequest) ProtoMessage

func (*ListKeysRequest) ProtoMessage()

func (*ListKeysRequest) ProtoReflect

func (x *ListKeysRequest) ProtoReflect() protoreflect.Message

func (*ListKeysRequest) Reset

func (x *ListKeysRequest) Reset()

func (*ListKeysRequest) String

func (x *ListKeysRequest) String() string

type ListKeysResponse

type ListKeysResponse struct {
	PublicKeys []*v0.PublicKeyWithName `protobuf:"bytes,1,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ListKeysResponse) Descriptor deprecated

func (*ListKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListKeysResponse.ProtoReflect.Descriptor instead.

func (*ListKeysResponse) GetPublicKeys

func (x *ListKeysResponse) GetPublicKeys() []*v0.PublicKeyWithName

func (*ListKeysResponse) ProtoMessage

func (*ListKeysResponse) ProtoMessage()

func (*ListKeysResponse) ProtoReflect

func (x *ListKeysResponse) ProtoReflect() protoreflect.Message

func (*ListKeysResponse) Reset

func (x *ListKeysResponse) Reset()

func (*ListKeysResponse) String

func (x *ListKeysResponse) String() string

type ListMyKeysResponse

type ListMyKeysResponse struct {
	PrivateKeysMetadata []*PrivateKeyMetadata `protobuf:"bytes,1,rep,name=private_keys_metadata,json=privateKeysMetadata,proto3" json:"private_keys_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*ListMyKeysResponse) Descriptor deprecated

func (*ListMyKeysResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMyKeysResponse.ProtoReflect.Descriptor instead.

func (*ListMyKeysResponse) GetPrivateKeysMetadata

func (x *ListMyKeysResponse) GetPrivateKeysMetadata() []*PrivateKeyMetadata

func (*ListMyKeysResponse) ProtoMessage

func (*ListMyKeysResponse) ProtoMessage()

func (*ListMyKeysResponse) ProtoReflect

func (x *ListMyKeysResponse) ProtoReflect() protoreflect.Message

func (*ListMyKeysResponse) Reset

func (x *ListMyKeysResponse) Reset()

func (*ListMyKeysResponse) String

func (x *ListMyKeysResponse) String() string

type PrivateKeyMetadata

type PrivateKeyMetadata struct {
	PublicKeyWithName *v0.PublicKeyWithName `protobuf:"bytes,1,opt,name=public_key_with_name,json=publicKeyWithName,proto3" json:"public_key_with_name,omitempty"`
	WrapperKeyId      string                `protobuf:"bytes,2,opt,name=wrapper_key_id,json=wrapperKeyId,proto3" json:"wrapper_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PrivateKeyMetadata) Descriptor deprecated

func (*PrivateKeyMetadata) Descriptor() ([]byte, []int)

Deprecated: Use PrivateKeyMetadata.ProtoReflect.Descriptor instead.

func (*PrivateKeyMetadata) GetPublicKeyWithName

func (x *PrivateKeyMetadata) GetPublicKeyWithName() *v0.PublicKeyWithName

func (*PrivateKeyMetadata) GetWrapperKeyId

func (x *PrivateKeyMetadata) GetWrapperKeyId() string

func (*PrivateKeyMetadata) ProtoMessage

func (*PrivateKeyMetadata) ProtoMessage()

func (*PrivateKeyMetadata) ProtoReflect

func (x *PrivateKeyMetadata) ProtoReflect() protoreflect.Message

func (*PrivateKeyMetadata) Reset

func (x *PrivateKeyMetadata) Reset()

func (*PrivateKeyMetadata) String

func (x *PrivateKeyMetadata) String() string

type RegisterKmsEncryptionKeyRequest

type RegisterKmsEncryptionKeyRequest struct {
	KmsKeyId string `protobuf:"bytes,1,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterKmsEncryptionKeyRequest) Descriptor deprecated

func (*RegisterKmsEncryptionKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterKmsEncryptionKeyRequest.ProtoReflect.Descriptor instead.

func (*RegisterKmsEncryptionKeyRequest) GetKmsKeyId

func (x *RegisterKmsEncryptionKeyRequest) GetKmsKeyId() string

func (*RegisterKmsEncryptionKeyRequest) GetName

func (*RegisterKmsEncryptionKeyRequest) ProtoMessage

func (*RegisterKmsEncryptionKeyRequest) ProtoMessage()

func (*RegisterKmsEncryptionKeyRequest) ProtoReflect

func (*RegisterKmsEncryptionKeyRequest) Reset

func (*RegisterKmsEncryptionKeyRequest) String

type RegisterKmsEncryptionKeyResponse

type RegisterKmsEncryptionKeyResponse struct {
	PublicKey *v0.EncryptionPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterKmsEncryptionKeyResponse) Descriptor deprecated

func (*RegisterKmsEncryptionKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterKmsEncryptionKeyResponse.ProtoReflect.Descriptor instead.

func (*RegisterKmsEncryptionKeyResponse) GetPublicKey

func (*RegisterKmsEncryptionKeyResponse) ProtoMessage

func (*RegisterKmsEncryptionKeyResponse) ProtoMessage()

func (*RegisterKmsEncryptionKeyResponse) ProtoReflect

func (*RegisterKmsEncryptionKeyResponse) Reset

func (*RegisterKmsEncryptionKeyResponse) String

type RegisterKmsSigningKeyRequest

type RegisterKmsSigningKeyRequest struct {
	KmsKeyId string `protobuf:"bytes,1,opt,name=kms_key_id,json=kmsKeyId,proto3" json:"kms_key_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterKmsSigningKeyRequest) Descriptor deprecated

func (*RegisterKmsSigningKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RegisterKmsSigningKeyRequest.ProtoReflect.Descriptor instead.

func (*RegisterKmsSigningKeyRequest) GetKmsKeyId

func (x *RegisterKmsSigningKeyRequest) GetKmsKeyId() string

func (*RegisterKmsSigningKeyRequest) GetName

func (x *RegisterKmsSigningKeyRequest) GetName() string

func (*RegisterKmsSigningKeyRequest) ProtoMessage

func (*RegisterKmsSigningKeyRequest) ProtoMessage()

func (*RegisterKmsSigningKeyRequest) ProtoReflect

func (*RegisterKmsSigningKeyRequest) Reset

func (x *RegisterKmsSigningKeyRequest) Reset()

func (*RegisterKmsSigningKeyRequest) String

type RegisterKmsSigningKeyResponse

type RegisterKmsSigningKeyResponse struct {
	PublicKey *v0.SigningPublicKey `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterKmsSigningKeyResponse) Descriptor deprecated

func (*RegisterKmsSigningKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RegisterKmsSigningKeyResponse.ProtoReflect.Descriptor instead.

func (*RegisterKmsSigningKeyResponse) GetPublicKey

func (*RegisterKmsSigningKeyResponse) ProtoMessage

func (*RegisterKmsSigningKeyResponse) ProtoMessage()

func (*RegisterKmsSigningKeyResponse) ProtoReflect

func (*RegisterKmsSigningKeyResponse) Reset

func (x *RegisterKmsSigningKeyResponse) Reset()

func (*RegisterKmsSigningKeyResponse) String

type RotateWrapperKeyRequest

type RotateWrapperKeyRequest struct {
	NewWrapperKeyId string `protobuf:"bytes,1,opt,name=new_wrapper_key_id,json=newWrapperKeyId,proto3" json:"new_wrapper_key_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RotateWrapperKeyRequest) Descriptor deprecated

func (*RotateWrapperKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RotateWrapperKeyRequest.ProtoReflect.Descriptor instead.

func (*RotateWrapperKeyRequest) GetNewWrapperKeyId

func (x *RotateWrapperKeyRequest) GetNewWrapperKeyId() string

func (*RotateWrapperKeyRequest) ProtoMessage

func (*RotateWrapperKeyRequest) ProtoMessage()

func (*RotateWrapperKeyRequest) ProtoReflect

func (x *RotateWrapperKeyRequest) ProtoReflect() protoreflect.Message

func (*RotateWrapperKeyRequest) Reset

func (x *RotateWrapperKeyRequest) Reset()

func (*RotateWrapperKeyRequest) String

func (x *RotateWrapperKeyRequest) String() string

type UnimplementedVaultServiceServer

type UnimplementedVaultServiceServer struct{}

UnimplementedVaultServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedVaultServiceServer) DeleteKeyPair

func (UnimplementedVaultServiceServer) ExportKeyPair

func (UnimplementedVaultServiceServer) GenerateSigningKey

func (UnimplementedVaultServiceServer) GetWrapperKeyId

func (UnimplementedVaultServiceServer) ImportKeyPair

func (UnimplementedVaultServiceServer) ImportPublicKey

func (UnimplementedVaultServiceServer) ListMyKeys

func (UnimplementedVaultServiceServer) ListPublicKeys

func (UnimplementedVaultServiceServer) RotateWrapperKey

type UnsafeVaultServiceServer

type UnsafeVaultServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeVaultServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VaultServiceServer will result in compilation errors.

type VaultServiceClient

type VaultServiceClient interface {
	ListMyKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListMyKeysResponse, error)
	GenerateSigningKey(ctx context.Context, in *GenerateSigningKeyRequest, opts ...grpc.CallOption) (*GenerateSigningKeyResponse, error)
	GenerateEncryptionKey(ctx context.Context, in *GenerateEncryptionKeyRequest, opts ...grpc.CallOption) (*GenerateEncryptionKeyResponse, error)
	RegisterKmsEncryptionKey(ctx context.Context, in *RegisterKmsEncryptionKeyRequest, opts ...grpc.CallOption) (*RegisterKmsEncryptionKeyResponse, error)
	RegisterKmsSigningKey(ctx context.Context, in *RegisterKmsSigningKeyRequest, opts ...grpc.CallOption) (*RegisterKmsSigningKeyResponse, error)
	ImportPublicKey(ctx context.Context, in *ImportPublicKeyRequest, opts ...grpc.CallOption) (*ImportPublicKeyResponse, error)
	ListPublicKeys(ctx context.Context, in *ListKeysRequest, opts ...grpc.CallOption) (*ListKeysResponse, error)
	RotateWrapperKey(ctx context.Context, in *RotateWrapperKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	GetWrapperKeyId(ctx context.Context, in *GetWrapperKeyIdRequest, opts ...grpc.CallOption) (*GetWrapperKeyIdResponse, error)
	ExportKeyPair(ctx context.Context, in *ExportKeyPairRequest, opts ...grpc.CallOption) (*ExportKeyPairResponse, error)
	ImportKeyPair(ctx context.Context, in *ImportKeyPairRequest, opts ...grpc.CallOption) (*ImportKeyPairResponse, error)
	DeleteKeyPair(ctx context.Context, in *DeleteKeyPairRequest, opts ...grpc.CallOption) (*DeleteKeyPairResponse, error)
}

VaultServiceClient is the client API for VaultService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type VaultServiceServer

VaultServiceServer is the server API for VaultService service. All implementations must embed UnimplementedVaultServiceServer for forward compatibility.

Jump to

Keyboard shortcuts

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