Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAeadServer(s grpc.ServiceRegistrar, srv AeadServer)
- func RegisterDeterministicAeadServer(s grpc.ServiceRegistrar, srv DeterministicAeadServer)
- func RegisterHybridServer(s grpc.ServiceRegistrar, srv HybridServer)
- func RegisterJwtServer(s grpc.ServiceRegistrar, srv JwtServer)
- func RegisterKeysetDeriverServer(s grpc.ServiceRegistrar, srv KeysetDeriverServer)
- func RegisterKeysetServer(s grpc.ServiceRegistrar, srv KeysetServer)
- func RegisterMacServer(s grpc.ServiceRegistrar, srv MacServer)
- func RegisterMetadataServer(s grpc.ServiceRegistrar, srv MetadataServer)
- func RegisterPrfSetServer(s grpc.ServiceRegistrar, srv PrfSetServer)
- func RegisterSignatureServer(s grpc.ServiceRegistrar, srv SignatureServer)
- func RegisterStreamingAeadServer(s grpc.ServiceRegistrar, srv StreamingAeadServer)
- type AeadClient
- type AeadDecryptRequest
- func (*AeadDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *AeadDecryptRequest) GetAssociatedData() []byte
- func (x *AeadDecryptRequest) GetCiphertext() []byte
- func (*AeadDecryptRequest) ProtoMessage()
- func (x *AeadDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *AeadDecryptRequest) Reset()
- func (x *AeadDecryptRequest) String() string
- type AeadDecryptResponse
- func (*AeadDecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AeadDecryptResponse) GetErr() string
- func (x *AeadDecryptResponse) GetPlaintext() []byte
- func (m *AeadDecryptResponse) GetResult() isAeadDecryptResponse_Result
- func (*AeadDecryptResponse) ProtoMessage()
- func (x *AeadDecryptResponse) ProtoReflect() protoreflect.Message
- func (x *AeadDecryptResponse) Reset()
- func (x *AeadDecryptResponse) String() string
- type AeadDecryptResponse_Err
- type AeadDecryptResponse_Plaintext
- type AeadEncryptRequest
- func (*AeadEncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *AeadEncryptRequest) GetAssociatedData() []byte
- func (x *AeadEncryptRequest) GetPlaintext() []byte
- func (*AeadEncryptRequest) ProtoMessage()
- func (x *AeadEncryptRequest) ProtoReflect() protoreflect.Message
- func (x *AeadEncryptRequest) Reset()
- func (x *AeadEncryptRequest) String() string
- type AeadEncryptResponse
- func (*AeadEncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AeadEncryptResponse) GetCiphertext() []byte
- func (x *AeadEncryptResponse) GetErr() string
- func (m *AeadEncryptResponse) GetResult() isAeadEncryptResponse_Result
- func (*AeadEncryptResponse) ProtoMessage()
- func (x *AeadEncryptResponse) ProtoReflect() protoreflect.Message
- func (x *AeadEncryptResponse) Reset()
- func (x *AeadEncryptResponse) String() string
- type AeadEncryptResponse_Ciphertext
- type AeadEncryptResponse_Err
- type AeadServer
- type AnnotatedKeyset
- func (*AnnotatedKeyset) Descriptor() ([]byte, []int)deprecated
- func (x *AnnotatedKeyset) GetAnnotations() map[string]string
- func (x *AnnotatedKeyset) GetSerializedKeyset() []byte
- func (*AnnotatedKeyset) ProtoMessage()
- func (x *AnnotatedKeyset) ProtoReflect() protoreflect.Message
- func (x *AnnotatedKeyset) Reset()
- func (x *AnnotatedKeyset) String() string
- type BytesValue
- type ComputeMacRequest
- func (*ComputeMacRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeMacRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *ComputeMacRequest) GetData() []byte
- func (*ComputeMacRequest) ProtoMessage()
- func (x *ComputeMacRequest) ProtoReflect() protoreflect.Message
- func (x *ComputeMacRequest) Reset()
- func (x *ComputeMacRequest) String() string
- type ComputeMacResponse
- func (*ComputeMacResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeMacResponse) GetErr() string
- func (x *ComputeMacResponse) GetMacValue() []byte
- func (m *ComputeMacResponse) GetResult() isComputeMacResponse_Result
- func (*ComputeMacResponse) ProtoMessage()
- func (x *ComputeMacResponse) ProtoReflect() protoreflect.Message
- func (x *ComputeMacResponse) Reset()
- func (x *ComputeMacResponse) String() string
- type ComputeMacResponse_Err
- type ComputeMacResponse_MacValue
- type CreationRequest
- func (*CreationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreationRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (*CreationRequest) ProtoMessage()
- func (x *CreationRequest) ProtoReflect() protoreflect.Message
- func (x *CreationRequest) Reset()
- func (x *CreationRequest) String() string
- type CreationResponse
- type DeriveKeysetRequest
- func (*DeriveKeysetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveKeysetRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *DeriveKeysetRequest) GetSalt() []byte
- func (*DeriveKeysetRequest) ProtoMessage()
- func (x *DeriveKeysetRequest) ProtoReflect() protoreflect.Message
- func (x *DeriveKeysetRequest) Reset()
- func (x *DeriveKeysetRequest) String() string
- type DeriveKeysetResponse
- func (*DeriveKeysetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeriveKeysetResponse) GetDerivedKeyset() []byte
- func (x *DeriveKeysetResponse) GetErr() string
- func (m *DeriveKeysetResponse) GetResult() isDeriveKeysetResponse_Result
- func (*DeriveKeysetResponse) ProtoMessage()
- func (x *DeriveKeysetResponse) ProtoReflect() protoreflect.Message
- func (x *DeriveKeysetResponse) Reset()
- func (x *DeriveKeysetResponse) String() string
- type DeriveKeysetResponse_DerivedKeyset
- type DeriveKeysetResponse_Err
- type DeterministicAeadClient
- type DeterministicAeadDecryptRequest
- func (*DeterministicAeadDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeterministicAeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *DeterministicAeadDecryptRequest) GetAssociatedData() []byte
- func (x *DeterministicAeadDecryptRequest) GetCiphertext() []byte
- func (*DeterministicAeadDecryptRequest) ProtoMessage()
- func (x *DeterministicAeadDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *DeterministicAeadDecryptRequest) Reset()
- func (x *DeterministicAeadDecryptRequest) String() string
- type DeterministicAeadDecryptResponse
- func (*DeterministicAeadDecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeterministicAeadDecryptResponse) GetErr() string
- func (x *DeterministicAeadDecryptResponse) GetPlaintext() []byte
- func (m *DeterministicAeadDecryptResponse) GetResult() isDeterministicAeadDecryptResponse_Result
- func (*DeterministicAeadDecryptResponse) ProtoMessage()
- func (x *DeterministicAeadDecryptResponse) ProtoReflect() protoreflect.Message
- func (x *DeterministicAeadDecryptResponse) Reset()
- func (x *DeterministicAeadDecryptResponse) String() string
- type DeterministicAeadDecryptResponse_Err
- type DeterministicAeadDecryptResponse_Plaintext
- type DeterministicAeadEncryptRequest
- func (*DeterministicAeadEncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeterministicAeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *DeterministicAeadEncryptRequest) GetAssociatedData() []byte
- func (x *DeterministicAeadEncryptRequest) GetPlaintext() []byte
- func (*DeterministicAeadEncryptRequest) ProtoMessage()
- func (x *DeterministicAeadEncryptRequest) ProtoReflect() protoreflect.Message
- func (x *DeterministicAeadEncryptRequest) Reset()
- func (x *DeterministicAeadEncryptRequest) String() string
- type DeterministicAeadEncryptResponse
- func (*DeterministicAeadEncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeterministicAeadEncryptResponse) GetCiphertext() []byte
- func (x *DeterministicAeadEncryptResponse) GetErr() string
- func (m *DeterministicAeadEncryptResponse) GetResult() isDeterministicAeadEncryptResponse_Result
- func (*DeterministicAeadEncryptResponse) ProtoMessage()
- func (x *DeterministicAeadEncryptResponse) ProtoReflect() protoreflect.Message
- func (x *DeterministicAeadEncryptResponse) Reset()
- func (x *DeterministicAeadEncryptResponse) String() string
- type DeterministicAeadEncryptResponse_Ciphertext
- type DeterministicAeadEncryptResponse_Err
- type DeterministicAeadServer
- type HybridClient
- type HybridDecryptRequest
- func (*HybridDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HybridDecryptRequest) GetCiphertext() []byte
- func (x *HybridDecryptRequest) GetContextInfo() []byte
- func (x *HybridDecryptRequest) GetPrivateAnnotatedKeyset() *AnnotatedKeyset
- func (*HybridDecryptRequest) ProtoMessage()
- func (x *HybridDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *HybridDecryptRequest) Reset()
- func (x *HybridDecryptRequest) String() string
- type HybridDecryptResponse
- func (*HybridDecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HybridDecryptResponse) GetErr() string
- func (x *HybridDecryptResponse) GetPlaintext() []byte
- func (m *HybridDecryptResponse) GetResult() isHybridDecryptResponse_Result
- func (*HybridDecryptResponse) ProtoMessage()
- func (x *HybridDecryptResponse) ProtoReflect() protoreflect.Message
- func (x *HybridDecryptResponse) Reset()
- func (x *HybridDecryptResponse) String() string
- type HybridDecryptResponse_Err
- type HybridDecryptResponse_Plaintext
- type HybridEncryptRequest
- func (*HybridEncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HybridEncryptRequest) GetContextInfo() []byte
- func (x *HybridEncryptRequest) GetPlaintext() []byte
- func (x *HybridEncryptRequest) GetPublicAnnotatedKeyset() *AnnotatedKeyset
- func (*HybridEncryptRequest) ProtoMessage()
- func (x *HybridEncryptRequest) ProtoReflect() protoreflect.Message
- func (x *HybridEncryptRequest) Reset()
- func (x *HybridEncryptRequest) String() string
- type HybridEncryptResponse
- func (*HybridEncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HybridEncryptResponse) GetCiphertext() []byte
- func (x *HybridEncryptResponse) GetErr() string
- func (m *HybridEncryptResponse) GetResult() isHybridEncryptResponse_Result
- func (*HybridEncryptResponse) ProtoMessage()
- func (x *HybridEncryptResponse) ProtoReflect() protoreflect.Message
- func (x *HybridEncryptResponse) Reset()
- func (x *HybridEncryptResponse) String() string
- type HybridEncryptResponse_Ciphertext
- type HybridEncryptResponse_Err
- type HybridServer
- type JwtClaimValue
- func (*JwtClaimValue) Descriptor() ([]byte, []int)deprecated
- func (x *JwtClaimValue) GetBoolValue() bool
- func (x *JwtClaimValue) GetJsonArrayValue() string
- func (x *JwtClaimValue) GetJsonObjectValue() string
- func (m *JwtClaimValue) GetKind() isJwtClaimValue_Kind
- func (x *JwtClaimValue) GetNullValue() NullValue
- func (x *JwtClaimValue) GetNumberValue() float64
- func (x *JwtClaimValue) GetStringValue() string
- func (*JwtClaimValue) ProtoMessage()
- func (x *JwtClaimValue) ProtoReflect() protoreflect.Message
- func (x *JwtClaimValue) Reset()
- func (x *JwtClaimValue) String() string
- type JwtClaimValue_BoolValue
- type JwtClaimValue_JsonArrayValue
- type JwtClaimValue_JsonObjectValue
- type JwtClaimValue_NullValue
- type JwtClaimValue_NumberValue
- type JwtClaimValue_StringValue
- type JwtClient
- type JwtFromJwkSetRequest
- func (*JwtFromJwkSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JwtFromJwkSetRequest) GetJwkSet() string
- func (*JwtFromJwkSetRequest) ProtoMessage()
- func (x *JwtFromJwkSetRequest) ProtoReflect() protoreflect.Message
- func (x *JwtFromJwkSetRequest) Reset()
- func (x *JwtFromJwkSetRequest) String() string
- type JwtFromJwkSetResponse
- func (*JwtFromJwkSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JwtFromJwkSetResponse) GetErr() string
- func (x *JwtFromJwkSetResponse) GetKeyset() []byte
- func (m *JwtFromJwkSetResponse) GetResult() isJwtFromJwkSetResponse_Result
- func (*JwtFromJwkSetResponse) ProtoMessage()
- func (x *JwtFromJwkSetResponse) ProtoReflect() protoreflect.Message
- func (x *JwtFromJwkSetResponse) Reset()
- func (x *JwtFromJwkSetResponse) String() string
- type JwtFromJwkSetResponse_Err
- type JwtFromJwkSetResponse_Keyset
- type JwtServer
- type JwtSignRequest
- func (*JwtSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JwtSignRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *JwtSignRequest) GetRawJwt() *JwtToken
- func (*JwtSignRequest) ProtoMessage()
- func (x *JwtSignRequest) ProtoReflect() protoreflect.Message
- func (x *JwtSignRequest) Reset()
- func (x *JwtSignRequest) String() string
- type JwtSignResponse
- func (*JwtSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JwtSignResponse) GetErr() string
- func (m *JwtSignResponse) GetResult() isJwtSignResponse_Result
- func (x *JwtSignResponse) GetSignedCompactJwt() string
- func (*JwtSignResponse) ProtoMessage()
- func (x *JwtSignResponse) ProtoReflect() protoreflect.Message
- func (x *JwtSignResponse) Reset()
- func (x *JwtSignResponse) String() string
- type JwtSignResponse_Err
- type JwtSignResponse_SignedCompactJwt
- type JwtToJwkSetRequest
- func (*JwtToJwkSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JwtToJwkSetRequest) GetKeyset() []byte
- func (*JwtToJwkSetRequest) ProtoMessage()
- func (x *JwtToJwkSetRequest) ProtoReflect() protoreflect.Message
- func (x *JwtToJwkSetRequest) Reset()
- func (x *JwtToJwkSetRequest) String() string
- type JwtToJwkSetResponse
- func (*JwtToJwkSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JwtToJwkSetResponse) GetErr() string
- func (x *JwtToJwkSetResponse) GetJwkSet() string
- func (m *JwtToJwkSetResponse) GetResult() isJwtToJwkSetResponse_Result
- func (*JwtToJwkSetResponse) ProtoMessage()
- func (x *JwtToJwkSetResponse) ProtoReflect() protoreflect.Message
- func (x *JwtToJwkSetResponse) Reset()
- func (x *JwtToJwkSetResponse) String() string
- type JwtToJwkSetResponse_Err
- type JwtToJwkSetResponse_JwkSet
- type JwtToken
- func (*JwtToken) Descriptor() ([]byte, []int)deprecated
- func (x *JwtToken) GetAudiences() []string
- func (x *JwtToken) GetCustomClaims() map[string]*JwtClaimValue
- func (x *JwtToken) GetExpiration() *timestamppb.Timestamp
- func (x *JwtToken) GetIssuedAt() *timestamppb.Timestamp
- func (x *JwtToken) GetIssuer() *wrapperspb.StringValue
- func (x *JwtToken) GetJwtId() *wrapperspb.StringValue
- func (x *JwtToken) GetNotBefore() *timestamppb.Timestamp
- func (x *JwtToken) GetSubject() *wrapperspb.StringValue
- func (x *JwtToken) GetTypeHeader() *wrapperspb.StringValue
- func (*JwtToken) ProtoMessage()
- func (x *JwtToken) ProtoReflect() protoreflect.Message
- func (x *JwtToken) Reset()
- func (x *JwtToken) String() string
- type JwtValidator
- func (*JwtValidator) Descriptor() ([]byte, []int)deprecated
- func (x *JwtValidator) GetAllowMissingExpiration() bool
- func (x *JwtValidator) GetClockSkew() *durationpb.Duration
- func (x *JwtValidator) GetExpectIssuedInThePast() bool
- func (x *JwtValidator) GetExpectedAudience() *wrapperspb.StringValue
- func (x *JwtValidator) GetExpectedIssuer() *wrapperspb.StringValue
- func (x *JwtValidator) GetExpectedTypeHeader() *wrapperspb.StringValue
- func (x *JwtValidator) GetIgnoreAudience() bool
- func (x *JwtValidator) GetIgnoreIssuer() bool
- func (x *JwtValidator) GetIgnoreTypeHeader() bool
- func (x *JwtValidator) GetNow() *timestamppb.Timestamp
- func (*JwtValidator) ProtoMessage()
- func (x *JwtValidator) ProtoReflect() protoreflect.Message
- func (x *JwtValidator) Reset()
- func (x *JwtValidator) String() string
- type JwtVerifyRequest
- func (*JwtVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JwtVerifyRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *JwtVerifyRequest) GetSignedCompactJwt() string
- func (x *JwtVerifyRequest) GetValidator() *JwtValidator
- func (*JwtVerifyRequest) ProtoMessage()
- func (x *JwtVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *JwtVerifyRequest) Reset()
- func (x *JwtVerifyRequest) String() string
- type JwtVerifyResponse
- func (*JwtVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *JwtVerifyResponse) GetErr() string
- func (m *JwtVerifyResponse) GetResult() isJwtVerifyResponse_Result
- func (x *JwtVerifyResponse) GetVerifiedJwt() *JwtToken
- func (*JwtVerifyResponse) ProtoMessage()
- func (x *JwtVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *JwtVerifyResponse) Reset()
- func (x *JwtVerifyResponse) String() string
- type JwtVerifyResponse_Err
- type JwtVerifyResponse_VerifiedJwt
- type KeysetClient
- type KeysetDeriverClient
- type KeysetDeriverServer
- type KeysetFromJsonRequest
- func (*KeysetFromJsonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetFromJsonRequest) GetJsonKeyset() string
- func (*KeysetFromJsonRequest) ProtoMessage()
- func (x *KeysetFromJsonRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetFromJsonRequest) Reset()
- func (x *KeysetFromJsonRequest) String() string
- type KeysetFromJsonResponse
- func (*KeysetFromJsonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetFromJsonResponse) GetErr() string
- func (x *KeysetFromJsonResponse) GetKeyset() []byte
- func (m *KeysetFromJsonResponse) GetResult() isKeysetFromJsonResponse_Result
- func (*KeysetFromJsonResponse) ProtoMessage()
- func (x *KeysetFromJsonResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetFromJsonResponse) Reset()
- func (x *KeysetFromJsonResponse) String() string
- type KeysetFromJsonResponse_Err
- type KeysetFromJsonResponse_Keyset
- type KeysetGenerateRequest
- func (*KeysetGenerateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetGenerateRequest) GetTemplate() []byte
- func (*KeysetGenerateRequest) ProtoMessage()
- func (x *KeysetGenerateRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetGenerateRequest) Reset()
- func (x *KeysetGenerateRequest) String() string
- type KeysetGenerateResponse
- func (*KeysetGenerateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetGenerateResponse) GetErr() string
- func (x *KeysetGenerateResponse) GetKeyset() []byte
- func (m *KeysetGenerateResponse) GetResult() isKeysetGenerateResponse_Result
- func (*KeysetGenerateResponse) ProtoMessage()
- func (x *KeysetGenerateResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetGenerateResponse) Reset()
- func (x *KeysetGenerateResponse) String() string
- type KeysetGenerateResponse_Err
- type KeysetGenerateResponse_Keyset
- type KeysetPublicRequest
- func (*KeysetPublicRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetPublicRequest) GetPrivateKeyset() []byte
- func (*KeysetPublicRequest) ProtoMessage()
- func (x *KeysetPublicRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetPublicRequest) Reset()
- func (x *KeysetPublicRequest) String() string
- type KeysetPublicResponse
- func (*KeysetPublicResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetPublicResponse) GetErr() string
- func (x *KeysetPublicResponse) GetPublicKeyset() []byte
- func (m *KeysetPublicResponse) GetResult() isKeysetPublicResponse_Result
- func (*KeysetPublicResponse) ProtoMessage()
- func (x *KeysetPublicResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetPublicResponse) Reset()
- func (x *KeysetPublicResponse) String() string
- type KeysetPublicResponse_Err
- type KeysetPublicResponse_PublicKeyset
- type KeysetReadEncryptedRequest
- func (*KeysetReadEncryptedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetReadEncryptedRequest) GetAssociatedData() *BytesValue
- func (x *KeysetReadEncryptedRequest) GetEncryptedKeyset() []byte
- func (x *KeysetReadEncryptedRequest) GetKeysetReaderType() KeysetReaderType
- func (x *KeysetReadEncryptedRequest) GetMasterKeyset() []byte
- func (*KeysetReadEncryptedRequest) ProtoMessage()
- func (x *KeysetReadEncryptedRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetReadEncryptedRequest) Reset()
- func (x *KeysetReadEncryptedRequest) String() string
- type KeysetReadEncryptedResponse
- func (*KeysetReadEncryptedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetReadEncryptedResponse) GetErr() string
- func (x *KeysetReadEncryptedResponse) GetKeyset() []byte
- func (m *KeysetReadEncryptedResponse) GetResult() isKeysetReadEncryptedResponse_Result
- func (*KeysetReadEncryptedResponse) ProtoMessage()
- func (x *KeysetReadEncryptedResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetReadEncryptedResponse) Reset()
- func (x *KeysetReadEncryptedResponse) String() string
- type KeysetReadEncryptedResponse_Err
- type KeysetReadEncryptedResponse_Keyset
- type KeysetReaderType
- func (KeysetReaderType) Descriptor() protoreflect.EnumDescriptor
- func (x KeysetReaderType) Enum() *KeysetReaderType
- func (KeysetReaderType) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeysetReaderType) Number() protoreflect.EnumNumber
- func (x KeysetReaderType) String() string
- func (KeysetReaderType) Type() protoreflect.EnumType
- type KeysetServer
- type KeysetTemplateRequest
- func (*KeysetTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetTemplateRequest) GetTemplateName() string
- func (*KeysetTemplateRequest) ProtoMessage()
- func (x *KeysetTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetTemplateRequest) Reset()
- func (x *KeysetTemplateRequest) String() string
- type KeysetTemplateResponse
- func (*KeysetTemplateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetTemplateResponse) GetErr() string
- func (x *KeysetTemplateResponse) GetKeyTemplate() []byte
- func (m *KeysetTemplateResponse) GetResult() isKeysetTemplateResponse_Result
- func (*KeysetTemplateResponse) ProtoMessage()
- func (x *KeysetTemplateResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetTemplateResponse) Reset()
- func (x *KeysetTemplateResponse) String() string
- type KeysetTemplateResponse_Err
- type KeysetTemplateResponse_KeyTemplate
- type KeysetToJsonRequest
- func (*KeysetToJsonRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetToJsonRequest) GetKeyset() []byte
- func (*KeysetToJsonRequest) ProtoMessage()
- func (x *KeysetToJsonRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetToJsonRequest) Reset()
- func (x *KeysetToJsonRequest) String() string
- type KeysetToJsonResponse
- func (*KeysetToJsonResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetToJsonResponse) GetErr() string
- func (x *KeysetToJsonResponse) GetJsonKeyset() string
- func (m *KeysetToJsonResponse) GetResult() isKeysetToJsonResponse_Result
- func (*KeysetToJsonResponse) ProtoMessage()
- func (x *KeysetToJsonResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetToJsonResponse) Reset()
- func (x *KeysetToJsonResponse) String() string
- type KeysetToJsonResponse_Err
- type KeysetToJsonResponse_JsonKeyset
- type KeysetWriteEncryptedRequest
- func (*KeysetWriteEncryptedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetWriteEncryptedRequest) GetAssociatedData() *BytesValue
- func (x *KeysetWriteEncryptedRequest) GetKeyset() []byte
- func (x *KeysetWriteEncryptedRequest) GetKeysetWriterType() KeysetWriterType
- func (x *KeysetWriteEncryptedRequest) GetMasterKeyset() []byte
- func (*KeysetWriteEncryptedRequest) ProtoMessage()
- func (x *KeysetWriteEncryptedRequest) ProtoReflect() protoreflect.Message
- func (x *KeysetWriteEncryptedRequest) Reset()
- func (x *KeysetWriteEncryptedRequest) String() string
- type KeysetWriteEncryptedResponse
- func (*KeysetWriteEncryptedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *KeysetWriteEncryptedResponse) GetEncryptedKeyset() []byte
- func (x *KeysetWriteEncryptedResponse) GetErr() string
- func (m *KeysetWriteEncryptedResponse) GetResult() isKeysetWriteEncryptedResponse_Result
- func (*KeysetWriteEncryptedResponse) ProtoMessage()
- func (x *KeysetWriteEncryptedResponse) ProtoReflect() protoreflect.Message
- func (x *KeysetWriteEncryptedResponse) Reset()
- func (x *KeysetWriteEncryptedResponse) String() string
- type KeysetWriteEncryptedResponse_EncryptedKeyset
- type KeysetWriteEncryptedResponse_Err
- type KeysetWriterType
- func (KeysetWriterType) Descriptor() protoreflect.EnumDescriptor
- func (x KeysetWriterType) Enum() *KeysetWriterType
- func (KeysetWriterType) EnumDescriptor() ([]byte, []int)deprecated
- func (x KeysetWriterType) Number() protoreflect.EnumNumber
- func (x KeysetWriterType) String() string
- func (KeysetWriterType) Type() protoreflect.EnumType
- type MacClient
- type MacServer
- type MetadataClient
- type MetadataServer
- type NullValue
- type PrfSetClient
- type PrfSetComputeRequest
- func (*PrfSetComputeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrfSetComputeRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *PrfSetComputeRequest) GetInputData() []byte
- func (x *PrfSetComputeRequest) GetKeyId() uint32
- func (x *PrfSetComputeRequest) GetOutputLength() int32
- func (*PrfSetComputeRequest) ProtoMessage()
- func (x *PrfSetComputeRequest) ProtoReflect() protoreflect.Message
- func (x *PrfSetComputeRequest) Reset()
- func (x *PrfSetComputeRequest) String() string
- type PrfSetComputeResponse
- func (*PrfSetComputeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrfSetComputeResponse) GetErr() string
- func (x *PrfSetComputeResponse) GetOutput() []byte
- func (m *PrfSetComputeResponse) GetResult() isPrfSetComputeResponse_Result
- func (*PrfSetComputeResponse) ProtoMessage()
- func (x *PrfSetComputeResponse) ProtoReflect() protoreflect.Message
- func (x *PrfSetComputeResponse) Reset()
- func (x *PrfSetComputeResponse) String() string
- type PrfSetComputeResponse_Err
- type PrfSetComputeResponse_Output
- type PrfSetKeyIdsRequest
- func (*PrfSetKeyIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrfSetKeyIdsRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (*PrfSetKeyIdsRequest) ProtoMessage()
- func (x *PrfSetKeyIdsRequest) ProtoReflect() protoreflect.Message
- func (x *PrfSetKeyIdsRequest) Reset()
- func (x *PrfSetKeyIdsRequest) String() string
- type PrfSetKeyIdsResponse
- func (*PrfSetKeyIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrfSetKeyIdsResponse) GetErr() string
- func (x *PrfSetKeyIdsResponse) GetOutput() *PrfSetKeyIdsResponse_Output
- func (m *PrfSetKeyIdsResponse) GetResult() isPrfSetKeyIdsResponse_Result
- func (*PrfSetKeyIdsResponse) ProtoMessage()
- func (x *PrfSetKeyIdsResponse) ProtoReflect() protoreflect.Message
- func (x *PrfSetKeyIdsResponse) Reset()
- func (x *PrfSetKeyIdsResponse) String() string
- type PrfSetKeyIdsResponse_Err
- type PrfSetKeyIdsResponse_Output
- func (*PrfSetKeyIdsResponse_Output) Descriptor() ([]byte, []int)deprecated
- func (x *PrfSetKeyIdsResponse_Output) GetKeyId() []uint32
- func (x *PrfSetKeyIdsResponse_Output) GetPrimaryKeyId() uint32
- func (*PrfSetKeyIdsResponse_Output) ProtoMessage()
- func (x *PrfSetKeyIdsResponse_Output) ProtoReflect() protoreflect.Message
- func (x *PrfSetKeyIdsResponse_Output) Reset()
- func (x *PrfSetKeyIdsResponse_Output) String() string
- type PrfSetKeyIdsResponse_Output_
- type PrfSetServer
- type ServerInfoRequest
- type ServerInfoResponse
- func (*ServerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfoResponse) GetLanguage() string
- func (x *ServerInfoResponse) GetTinkVersion() string
- func (*ServerInfoResponse) ProtoMessage()
- func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ServerInfoResponse) Reset()
- func (x *ServerInfoResponse) String() string
- type SignatureClient
- type SignatureServer
- type SignatureSignRequest
- func (*SignatureSignRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureSignRequest) GetData() []byte
- func (x *SignatureSignRequest) GetPrivateAnnotatedKeyset() *AnnotatedKeyset
- func (*SignatureSignRequest) ProtoMessage()
- func (x *SignatureSignRequest) ProtoReflect() protoreflect.Message
- func (x *SignatureSignRequest) Reset()
- func (x *SignatureSignRequest) String() string
- type SignatureSignResponse
- func (*SignatureSignResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureSignResponse) GetErr() string
- func (m *SignatureSignResponse) GetResult() isSignatureSignResponse_Result
- func (x *SignatureSignResponse) GetSignature() []byte
- func (*SignatureSignResponse) ProtoMessage()
- func (x *SignatureSignResponse) ProtoReflect() protoreflect.Message
- func (x *SignatureSignResponse) Reset()
- func (x *SignatureSignResponse) String() string
- type SignatureSignResponse_Err
- type SignatureSignResponse_Signature
- type SignatureVerifyRequest
- func (*SignatureVerifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureVerifyRequest) GetData() []byte
- func (x *SignatureVerifyRequest) GetPublicAnnotatedKeyset() *AnnotatedKeyset
- func (x *SignatureVerifyRequest) GetSignature() []byte
- func (*SignatureVerifyRequest) ProtoMessage()
- func (x *SignatureVerifyRequest) ProtoReflect() protoreflect.Message
- func (x *SignatureVerifyRequest) Reset()
- func (x *SignatureVerifyRequest) String() string
- type SignatureVerifyResponse
- func (*SignatureVerifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignatureVerifyResponse) GetErr() string
- func (*SignatureVerifyResponse) ProtoMessage()
- func (x *SignatureVerifyResponse) ProtoReflect() protoreflect.Message
- func (x *SignatureVerifyResponse) Reset()
- func (x *SignatureVerifyResponse) String() string
- type StreamingAeadClient
- type StreamingAeadDecryptRequest
- func (*StreamingAeadDecryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingAeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *StreamingAeadDecryptRequest) GetAssociatedData() []byte
- func (x *StreamingAeadDecryptRequest) GetCiphertext() []byte
- func (*StreamingAeadDecryptRequest) ProtoMessage()
- func (x *StreamingAeadDecryptRequest) ProtoReflect() protoreflect.Message
- func (x *StreamingAeadDecryptRequest) Reset()
- func (x *StreamingAeadDecryptRequest) String() string
- type StreamingAeadDecryptResponse
- func (*StreamingAeadDecryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingAeadDecryptResponse) GetErr() string
- func (x *StreamingAeadDecryptResponse) GetPlaintext() []byte
- func (m *StreamingAeadDecryptResponse) GetResult() isStreamingAeadDecryptResponse_Result
- func (*StreamingAeadDecryptResponse) ProtoMessage()
- func (x *StreamingAeadDecryptResponse) ProtoReflect() protoreflect.Message
- func (x *StreamingAeadDecryptResponse) Reset()
- func (x *StreamingAeadDecryptResponse) String() string
- type StreamingAeadDecryptResponse_Err
- type StreamingAeadDecryptResponse_Plaintext
- type StreamingAeadEncryptRequest
- func (*StreamingAeadEncryptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingAeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *StreamingAeadEncryptRequest) GetAssociatedData() []byte
- func (x *StreamingAeadEncryptRequest) GetPlaintext() []byte
- func (*StreamingAeadEncryptRequest) ProtoMessage()
- func (x *StreamingAeadEncryptRequest) ProtoReflect() protoreflect.Message
- func (x *StreamingAeadEncryptRequest) Reset()
- func (x *StreamingAeadEncryptRequest) String() string
- type StreamingAeadEncryptResponse
- func (*StreamingAeadEncryptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamingAeadEncryptResponse) GetCiphertext() []byte
- func (x *StreamingAeadEncryptResponse) GetErr() string
- func (m *StreamingAeadEncryptResponse) GetResult() isStreamingAeadEncryptResponse_Result
- func (*StreamingAeadEncryptResponse) ProtoMessage()
- func (x *StreamingAeadEncryptResponse) ProtoReflect() protoreflect.Message
- func (x *StreamingAeadEncryptResponse) Reset()
- func (x *StreamingAeadEncryptResponse) String() string
- type StreamingAeadEncryptResponse_Ciphertext
- type StreamingAeadEncryptResponse_Err
- type StreamingAeadServer
- type UnimplementedAeadServer
- func (UnimplementedAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedAeadServer) Decrypt(context.Context, *AeadDecryptRequest) (*AeadDecryptResponse, error)
- func (UnimplementedAeadServer) Encrypt(context.Context, *AeadEncryptRequest) (*AeadEncryptResponse, error)
- type UnimplementedDeterministicAeadServer
- func (UnimplementedDeterministicAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedDeterministicAeadServer) DecryptDeterministically(context.Context, *DeterministicAeadDecryptRequest) (*DeterministicAeadDecryptResponse, error)
- func (UnimplementedDeterministicAeadServer) EncryptDeterministically(context.Context, *DeterministicAeadEncryptRequest) (*DeterministicAeadEncryptResponse, error)
- type UnimplementedHybridServer
- func (UnimplementedHybridServer) CreateHybridDecrypt(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedHybridServer) CreateHybridEncrypt(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedHybridServer) Decrypt(context.Context, *HybridDecryptRequest) (*HybridDecryptResponse, error)
- func (UnimplementedHybridServer) Encrypt(context.Context, *HybridEncryptRequest) (*HybridEncryptResponse, error)
- type UnimplementedJwtServer
- func (UnimplementedJwtServer) ComputeMacAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error)
- func (UnimplementedJwtServer) CreateJwtMac(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedJwtServer) CreateJwtPublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedJwtServer) CreateJwtPublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedJwtServer) FromJwkSet(context.Context, *JwtFromJwkSetRequest) (*JwtFromJwkSetResponse, error)
- func (UnimplementedJwtServer) PublicKeySignAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error)
- func (UnimplementedJwtServer) PublicKeyVerifyAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error)
- func (UnimplementedJwtServer) ToJwkSet(context.Context, *JwtToJwkSetRequest) (*JwtToJwkSetResponse, error)
- func (UnimplementedJwtServer) VerifyMacAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error)
- type UnimplementedKeysetDeriverServer
- type UnimplementedKeysetServer
- func (UnimplementedKeysetServer) FromJson(context.Context, *KeysetFromJsonRequest) (*KeysetFromJsonResponse, error)
- func (UnimplementedKeysetServer) Generate(context.Context, *KeysetGenerateRequest) (*KeysetGenerateResponse, error)
- func (UnimplementedKeysetServer) GetTemplate(context.Context, *KeysetTemplateRequest) (*KeysetTemplateResponse, error)
- func (UnimplementedKeysetServer) Public(context.Context, *KeysetPublicRequest) (*KeysetPublicResponse, error)
- func (UnimplementedKeysetServer) ReadEncrypted(context.Context, *KeysetReadEncryptedRequest) (*KeysetReadEncryptedResponse, error)
- func (UnimplementedKeysetServer) ToJson(context.Context, *KeysetToJsonRequest) (*KeysetToJsonResponse, error)
- func (UnimplementedKeysetServer) WriteEncrypted(context.Context, *KeysetWriteEncryptedRequest) (*KeysetWriteEncryptedResponse, error)
- type UnimplementedMacServer
- func (UnimplementedMacServer) ComputeMac(context.Context, *ComputeMacRequest) (*ComputeMacResponse, error)
- func (UnimplementedMacServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedMacServer) VerifyMac(context.Context, *VerifyMacRequest) (*VerifyMacResponse, error)
- type UnimplementedMetadataServer
- type UnimplementedPrfSetServer
- func (UnimplementedPrfSetServer) Compute(context.Context, *PrfSetComputeRequest) (*PrfSetComputeResponse, error)
- func (UnimplementedPrfSetServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedPrfSetServer) KeyIds(context.Context, *PrfSetKeyIdsRequest) (*PrfSetKeyIdsResponse, error)
- type UnimplementedSignatureServer
- func (UnimplementedSignatureServer) CreatePublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedSignatureServer) CreatePublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedSignatureServer) Sign(context.Context, *SignatureSignRequest) (*SignatureSignResponse, error)
- func (UnimplementedSignatureServer) Verify(context.Context, *SignatureVerifyRequest) (*SignatureVerifyResponse, error)
- type UnimplementedStreamingAeadServer
- func (UnimplementedStreamingAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
- func (UnimplementedStreamingAeadServer) Decrypt(context.Context, *StreamingAeadDecryptRequest) (*StreamingAeadDecryptResponse, error)
- func (UnimplementedStreamingAeadServer) Encrypt(context.Context, *StreamingAeadEncryptRequest) (*StreamingAeadEncryptResponse, error)
- type UnsafeAeadServer
- type UnsafeDeterministicAeadServer
- type UnsafeHybridServer
- type UnsafeJwtServer
- type UnsafeKeysetDeriverServer
- type UnsafeKeysetServer
- type UnsafeMacServer
- type UnsafeMetadataServer
- type UnsafePrfSetServer
- type UnsafeSignatureServer
- type UnsafeStreamingAeadServer
- type VerifyMacRequest
- func (*VerifyMacRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyMacRequest) GetAnnotatedKeyset() *AnnotatedKeyset
- func (x *VerifyMacRequest) GetData() []byte
- func (x *VerifyMacRequest) GetMacValue() []byte
- func (*VerifyMacRequest) ProtoMessage()
- func (x *VerifyMacRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyMacRequest) Reset()
- func (x *VerifyMacRequest) String() string
- type VerifyMacResponse
Constants ¶
const ( Keyset_GetTemplate_FullMethodName = "/tink_testing_api.Keyset/GetTemplate" Keyset_Generate_FullMethodName = "/tink_testing_api.Keyset/Generate" Keyset_Public_FullMethodName = "/tink_testing_api.Keyset/Public" Keyset_ToJson_FullMethodName = "/tink_testing_api.Keyset/ToJson" Keyset_FromJson_FullMethodName = "/tink_testing_api.Keyset/FromJson" Keyset_ReadEncrypted_FullMethodName = "/tink_testing_api.Keyset/ReadEncrypted" Keyset_WriteEncrypted_FullMethodName = "/tink_testing_api.Keyset/WriteEncrypted" )
const ( Aead_Create_FullMethodName = "/tink_testing_api.Aead/Create" Aead_Encrypt_FullMethodName = "/tink_testing_api.Aead/Encrypt" Aead_Decrypt_FullMethodName = "/tink_testing_api.Aead/Decrypt" )
const ( DeterministicAead_Create_FullMethodName = "/tink_testing_api.DeterministicAead/Create" DeterministicAead_EncryptDeterministically_FullMethodName = "/tink_testing_api.DeterministicAead/EncryptDeterministically" DeterministicAead_DecryptDeterministically_FullMethodName = "/tink_testing_api.DeterministicAead/DecryptDeterministically" )
const ( StreamingAead_Create_FullMethodName = "/tink_testing_api.StreamingAead/Create" StreamingAead_Encrypt_FullMethodName = "/tink_testing_api.StreamingAead/Encrypt" StreamingAead_Decrypt_FullMethodName = "/tink_testing_api.StreamingAead/Decrypt" )
const ( Mac_Create_FullMethodName = "/tink_testing_api.Mac/Create" Mac_ComputeMac_FullMethodName = "/tink_testing_api.Mac/ComputeMac" Mac_VerifyMac_FullMethodName = "/tink_testing_api.Mac/VerifyMac" )
const ( Hybrid_CreateHybridEncrypt_FullMethodName = "/tink_testing_api.Hybrid/CreateHybridEncrypt" Hybrid_CreateHybridDecrypt_FullMethodName = "/tink_testing_api.Hybrid/CreateHybridDecrypt" Hybrid_Encrypt_FullMethodName = "/tink_testing_api.Hybrid/Encrypt" Hybrid_Decrypt_FullMethodName = "/tink_testing_api.Hybrid/Decrypt" )
const ( Signature_CreatePublicKeySign_FullMethodName = "/tink_testing_api.Signature/CreatePublicKeySign" Signature_CreatePublicKeyVerify_FullMethodName = "/tink_testing_api.Signature/CreatePublicKeyVerify" Signature_Sign_FullMethodName = "/tink_testing_api.Signature/Sign" Signature_Verify_FullMethodName = "/tink_testing_api.Signature/Verify" )
const ( PrfSet_Create_FullMethodName = "/tink_testing_api.PrfSet/Create" PrfSet_KeyIds_FullMethodName = "/tink_testing_api.PrfSet/KeyIds" PrfSet_Compute_FullMethodName = "/tink_testing_api.PrfSet/Compute" )
const ( Jwt_CreateJwtMac_FullMethodName = "/tink_testing_api.Jwt/CreateJwtMac" Jwt_CreateJwtPublicKeySign_FullMethodName = "/tink_testing_api.Jwt/CreateJwtPublicKeySign" Jwt_CreateJwtPublicKeyVerify_FullMethodName = "/tink_testing_api.Jwt/CreateJwtPublicKeyVerify" Jwt_ComputeMacAndEncode_FullMethodName = "/tink_testing_api.Jwt/ComputeMacAndEncode" Jwt_VerifyMacAndDecode_FullMethodName = "/tink_testing_api.Jwt/VerifyMacAndDecode" Jwt_PublicKeySignAndEncode_FullMethodName = "/tink_testing_api.Jwt/PublicKeySignAndEncode" Jwt_PublicKeyVerifyAndDecode_FullMethodName = "/tink_testing_api.Jwt/PublicKeyVerifyAndDecode" Jwt_ToJwkSet_FullMethodName = "/tink_testing_api.Jwt/ToJwkSet" Jwt_FromJwkSet_FullMethodName = "/tink_testing_api.Jwt/FromJwkSet" )
const ( KeysetDeriver_Create_FullMethodName = "/tink_testing_api.KeysetDeriver/Create" KeysetDeriver_DeriveKeyset_FullMethodName = "/tink_testing_api.KeysetDeriver/DeriveKeyset" )
const (
Metadata_GetServerInfo_FullMethodName = "/tink_testing_api.Metadata/GetServerInfo"
)
Variables ¶
var ( KeysetReaderType_name = map[int32]string{ 0: "KEYSET_READER_UNKNOWN", 1: "KEYSET_READER_BINARY", 2: "KEYSET_READER_JSON", } KeysetReaderType_value = map[string]int32{ "KEYSET_READER_UNKNOWN": 0, "KEYSET_READER_BINARY": 1, "KEYSET_READER_JSON": 2, } )
Enum value maps for KeysetReaderType.
var ( KeysetWriterType_name = map[int32]string{ 0: "KEYSET_WRITER_UNKNOWN", 1: "KEYSET_WRITER_BINARY", 2: "KEYSET_WRITER_JSON", } KeysetWriterType_value = map[string]int32{ "KEYSET_WRITER_UNKNOWN": 0, "KEYSET_WRITER_BINARY": 1, "KEYSET_WRITER_JSON": 2, } )
Enum value maps for KeysetWriterType.
var ( NullValue_name = map[int32]string{ 0: "NULL_VALUE", } NullValue_value = map[string]int32{ "NULL_VALUE": 0, } )
Enum value maps for NullValue.
var Aead_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Aead", HandlerType: (*AeadServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Aead_Create_Handler, }, { MethodName: "Encrypt", Handler: _Aead_Encrypt_Handler, }, { MethodName: "Decrypt", Handler: _Aead_Decrypt_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Aead_ServiceDesc is the grpc.ServiceDesc for Aead service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var DeterministicAead_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.DeterministicAead", HandlerType: (*DeterministicAeadServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _DeterministicAead_Create_Handler, }, { MethodName: "EncryptDeterministically", Handler: _DeterministicAead_EncryptDeterministically_Handler, }, { MethodName: "DecryptDeterministically", Handler: _DeterministicAead_DecryptDeterministically_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
DeterministicAead_ServiceDesc is the grpc.ServiceDesc for DeterministicAead service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_go_protos_testing_api_proto protoreflect.FileDescriptor
var Hybrid_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Hybrid", HandlerType: (*HybridServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateHybridEncrypt", Handler: _Hybrid_CreateHybridEncrypt_Handler, }, { MethodName: "CreateHybridDecrypt", Handler: _Hybrid_CreateHybridDecrypt_Handler, }, { MethodName: "Encrypt", Handler: _Hybrid_Encrypt_Handler, }, { MethodName: "Decrypt", Handler: _Hybrid_Decrypt_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Hybrid_ServiceDesc is the grpc.ServiceDesc for Hybrid service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Jwt_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Jwt", HandlerType: (*JwtServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateJwtMac", Handler: _Jwt_CreateJwtMac_Handler, }, { MethodName: "CreateJwtPublicKeySign", Handler: _Jwt_CreateJwtPublicKeySign_Handler, }, { MethodName: "CreateJwtPublicKeyVerify", Handler: _Jwt_CreateJwtPublicKeyVerify_Handler, }, { MethodName: "ComputeMacAndEncode", Handler: _Jwt_ComputeMacAndEncode_Handler, }, { MethodName: "VerifyMacAndDecode", Handler: _Jwt_VerifyMacAndDecode_Handler, }, { MethodName: "PublicKeySignAndEncode", Handler: _Jwt_PublicKeySignAndEncode_Handler, }, { MethodName: "PublicKeyVerifyAndDecode", Handler: _Jwt_PublicKeyVerifyAndDecode_Handler, }, { MethodName: "ToJwkSet", Handler: _Jwt_ToJwkSet_Handler, }, { MethodName: "FromJwkSet", Handler: _Jwt_FromJwkSet_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Jwt_ServiceDesc is the grpc.ServiceDesc for Jwt service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var KeysetDeriver_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.KeysetDeriver", HandlerType: (*KeysetDeriverServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _KeysetDeriver_Create_Handler, }, { MethodName: "DeriveKeyset", Handler: _KeysetDeriver_DeriveKeyset_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
KeysetDeriver_ServiceDesc is the grpc.ServiceDesc for KeysetDeriver service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Keyset_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Keyset", HandlerType: (*KeysetServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTemplate", Handler: _Keyset_GetTemplate_Handler, }, { MethodName: "Generate", Handler: _Keyset_Generate_Handler, }, { MethodName: "Public", Handler: _Keyset_Public_Handler, }, { MethodName: "ToJson", Handler: _Keyset_ToJson_Handler, }, { MethodName: "FromJson", Handler: _Keyset_FromJson_Handler, }, { MethodName: "ReadEncrypted", Handler: _Keyset_ReadEncrypted_Handler, }, { MethodName: "WriteEncrypted", Handler: _Keyset_WriteEncrypted_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Keyset_ServiceDesc is the grpc.ServiceDesc for Keyset service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Mac_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Mac", HandlerType: (*MacServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Mac_Create_Handler, }, { MethodName: "ComputeMac", Handler: _Mac_ComputeMac_Handler, }, { MethodName: "VerifyMac", Handler: _Mac_VerifyMac_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Mac_ServiceDesc is the grpc.ServiceDesc for Mac service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Metadata_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Metadata", HandlerType: (*MetadataServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetServerInfo", Handler: _Metadata_GetServerInfo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Metadata_ServiceDesc is the grpc.ServiceDesc for Metadata service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PrfSet_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.PrfSet", HandlerType: (*PrfSetServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _PrfSet_Create_Handler, }, { MethodName: "KeyIds", Handler: _PrfSet_KeyIds_Handler, }, { MethodName: "Compute", Handler: _PrfSet_Compute_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
PrfSet_ServiceDesc is the grpc.ServiceDesc for PrfSet service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Signature_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.Signature", HandlerType: (*SignatureServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreatePublicKeySign", Handler: _Signature_CreatePublicKeySign_Handler, }, { MethodName: "CreatePublicKeyVerify", Handler: _Signature_CreatePublicKeyVerify_Handler, }, { MethodName: "Sign", Handler: _Signature_Sign_Handler, }, { MethodName: "Verify", Handler: _Signature_Verify_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
Signature_ServiceDesc is the grpc.ServiceDesc for Signature service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var StreamingAead_ServiceDesc = grpc.ServiceDesc{ ServiceName: "tink_testing_api.StreamingAead", HandlerType: (*StreamingAeadServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _StreamingAead_Create_Handler, }, { MethodName: "Encrypt", Handler: _StreamingAead_Encrypt_Handler, }, { MethodName: "Decrypt", Handler: _StreamingAead_Decrypt_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "go/protos/testing_api.proto", }
StreamingAead_ServiceDesc is the grpc.ServiceDesc for StreamingAead service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAeadServer ¶
func RegisterAeadServer(s grpc.ServiceRegistrar, srv AeadServer)
func RegisterDeterministicAeadServer ¶
func RegisterDeterministicAeadServer(s grpc.ServiceRegistrar, srv DeterministicAeadServer)
func RegisterHybridServer ¶
func RegisterHybridServer(s grpc.ServiceRegistrar, srv HybridServer)
func RegisterJwtServer ¶
func RegisterJwtServer(s grpc.ServiceRegistrar, srv JwtServer)
func RegisterKeysetDeriverServer ¶
func RegisterKeysetDeriverServer(s grpc.ServiceRegistrar, srv KeysetDeriverServer)
func RegisterKeysetServer ¶
func RegisterKeysetServer(s grpc.ServiceRegistrar, srv KeysetServer)
func RegisterMacServer ¶
func RegisterMacServer(s grpc.ServiceRegistrar, srv MacServer)
func RegisterMetadataServer ¶
func RegisterMetadataServer(s grpc.ServiceRegistrar, srv MetadataServer)
func RegisterPrfSetServer ¶
func RegisterPrfSetServer(s grpc.ServiceRegistrar, srv PrfSetServer)
func RegisterSignatureServer ¶
func RegisterSignatureServer(s grpc.ServiceRegistrar, srv SignatureServer)
func RegisterStreamingAeadServer ¶
func RegisterStreamingAeadServer(s grpc.ServiceRegistrar, srv StreamingAeadServer)
Types ¶
type AeadClient ¶
type AeadClient interface { // Creates an Aead object without using it. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Encrypt(ctx context.Context, in *AeadEncryptRequest, opts ...grpc.CallOption) (*AeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Decrypt(ctx context.Context, in *AeadDecryptRequest, opts ...grpc.CallOption) (*AeadDecryptResponse, error) }
AeadClient is the client API for Aead 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.
func NewAeadClient ¶
func NewAeadClient(cc grpc.ClientConnInterface) AeadClient
type AeadDecryptRequest ¶
type AeadDecryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*AeadDecryptRequest) Descriptor
deprecated
func (*AeadDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use AeadDecryptRequest.ProtoReflect.Descriptor instead.
func (*AeadDecryptRequest) GetAnnotatedKeyset ¶
func (x *AeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*AeadDecryptRequest) GetAssociatedData ¶
func (x *AeadDecryptRequest) GetAssociatedData() []byte
func (*AeadDecryptRequest) GetCiphertext ¶
func (x *AeadDecryptRequest) GetCiphertext() []byte
func (*AeadDecryptRequest) ProtoMessage ¶
func (*AeadDecryptRequest) ProtoMessage()
func (*AeadDecryptRequest) ProtoReflect ¶
func (x *AeadDecryptRequest) ProtoReflect() protoreflect.Message
func (*AeadDecryptRequest) Reset ¶
func (x *AeadDecryptRequest) Reset()
func (*AeadDecryptRequest) String ¶
func (x *AeadDecryptRequest) String() string
type AeadDecryptResponse ¶
type AeadDecryptResponse struct { // Types that are assignable to Result: // // *AeadDecryptResponse_Plaintext // *AeadDecryptResponse_Err Result isAeadDecryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*AeadDecryptResponse) Descriptor
deprecated
func (*AeadDecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use AeadDecryptResponse.ProtoReflect.Descriptor instead.
func (*AeadDecryptResponse) GetErr ¶
func (x *AeadDecryptResponse) GetErr() string
func (*AeadDecryptResponse) GetPlaintext ¶
func (x *AeadDecryptResponse) GetPlaintext() []byte
func (*AeadDecryptResponse) GetResult ¶
func (m *AeadDecryptResponse) GetResult() isAeadDecryptResponse_Result
func (*AeadDecryptResponse) ProtoMessage ¶
func (*AeadDecryptResponse) ProtoMessage()
func (*AeadDecryptResponse) ProtoReflect ¶
func (x *AeadDecryptResponse) ProtoReflect() protoreflect.Message
func (*AeadDecryptResponse) Reset ¶
func (x *AeadDecryptResponse) Reset()
func (*AeadDecryptResponse) String ¶
func (x *AeadDecryptResponse) String() string
type AeadDecryptResponse_Err ¶
type AeadDecryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type AeadDecryptResponse_Plaintext ¶
type AeadDecryptResponse_Plaintext struct {
Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3,oneof"`
}
type AeadEncryptRequest ¶
type AeadEncryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*AeadEncryptRequest) Descriptor
deprecated
func (*AeadEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use AeadEncryptRequest.ProtoReflect.Descriptor instead.
func (*AeadEncryptRequest) GetAnnotatedKeyset ¶
func (x *AeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*AeadEncryptRequest) GetAssociatedData ¶
func (x *AeadEncryptRequest) GetAssociatedData() []byte
func (*AeadEncryptRequest) GetPlaintext ¶
func (x *AeadEncryptRequest) GetPlaintext() []byte
func (*AeadEncryptRequest) ProtoMessage ¶
func (*AeadEncryptRequest) ProtoMessage()
func (*AeadEncryptRequest) ProtoReflect ¶
func (x *AeadEncryptRequest) ProtoReflect() protoreflect.Message
func (*AeadEncryptRequest) Reset ¶
func (x *AeadEncryptRequest) Reset()
func (*AeadEncryptRequest) String ¶
func (x *AeadEncryptRequest) String() string
type AeadEncryptResponse ¶
type AeadEncryptResponse struct { // Types that are assignable to Result: // // *AeadEncryptResponse_Ciphertext // *AeadEncryptResponse_Err Result isAeadEncryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*AeadEncryptResponse) Descriptor
deprecated
func (*AeadEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use AeadEncryptResponse.ProtoReflect.Descriptor instead.
func (*AeadEncryptResponse) GetCiphertext ¶
func (x *AeadEncryptResponse) GetCiphertext() []byte
func (*AeadEncryptResponse) GetErr ¶
func (x *AeadEncryptResponse) GetErr() string
func (*AeadEncryptResponse) GetResult ¶
func (m *AeadEncryptResponse) GetResult() isAeadEncryptResponse_Result
func (*AeadEncryptResponse) ProtoMessage ¶
func (*AeadEncryptResponse) ProtoMessage()
func (*AeadEncryptResponse) ProtoReflect ¶
func (x *AeadEncryptResponse) ProtoReflect() protoreflect.Message
func (*AeadEncryptResponse) Reset ¶
func (x *AeadEncryptResponse) Reset()
func (*AeadEncryptResponse) String ¶
func (x *AeadEncryptResponse) String() string
type AeadEncryptResponse_Ciphertext ¶
type AeadEncryptResponse_Ciphertext struct {
Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3,oneof"`
}
type AeadEncryptResponse_Err ¶
type AeadEncryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type AeadServer ¶
type AeadServer interface { // Creates an Aead object without using it. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Encrypt(context.Context, *AeadEncryptRequest) (*AeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Decrypt(context.Context, *AeadDecryptRequest) (*AeadDecryptResponse, error) // contains filtered or unexported methods }
AeadServer is the server API for Aead service. All implementations must embed UnimplementedAeadServer for forward compatibility
type AnnotatedKeyset ¶
type AnnotatedKeyset struct { SerializedKeyset []byte `protobuf:"bytes,1,opt,name=serialized_keyset,json=serializedKeyset,proto3" json:"serialized_keyset,omitempty"` // serialized google.crypto.tink.Keyset. Annotations map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AnnotatedKeyset) Descriptor
deprecated
func (*AnnotatedKeyset) Descriptor() ([]byte, []int)
Deprecated: Use AnnotatedKeyset.ProtoReflect.Descriptor instead.
func (*AnnotatedKeyset) GetAnnotations ¶
func (x *AnnotatedKeyset) GetAnnotations() map[string]string
func (*AnnotatedKeyset) GetSerializedKeyset ¶
func (x *AnnotatedKeyset) GetSerializedKeyset() []byte
func (*AnnotatedKeyset) ProtoMessage ¶
func (*AnnotatedKeyset) ProtoMessage()
func (*AnnotatedKeyset) ProtoReflect ¶
func (x *AnnotatedKeyset) ProtoReflect() protoreflect.Message
func (*AnnotatedKeyset) Reset ¶
func (x *AnnotatedKeyset) Reset()
func (*AnnotatedKeyset) String ¶
func (x *AnnotatedKeyset) String() string
type BytesValue ¶
type BytesValue struct { // The bytes value. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Copy of google.protobuf.BytesValue
func (*BytesValue) Descriptor
deprecated
func (*BytesValue) Descriptor() ([]byte, []int)
Deprecated: Use BytesValue.ProtoReflect.Descriptor instead.
func (*BytesValue) GetValue ¶
func (x *BytesValue) GetValue() []byte
func (*BytesValue) ProtoMessage ¶
func (*BytesValue) ProtoMessage()
func (*BytesValue) ProtoReflect ¶
func (x *BytesValue) ProtoReflect() protoreflect.Message
func (*BytesValue) Reset ¶
func (x *BytesValue) Reset()
func (*BytesValue) String ¶
func (x *BytesValue) String() string
type ComputeMacRequest ¶
type ComputeMacRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ComputeMacRequest) Descriptor
deprecated
func (*ComputeMacRequest) Descriptor() ([]byte, []int)
Deprecated: Use ComputeMacRequest.ProtoReflect.Descriptor instead.
func (*ComputeMacRequest) GetAnnotatedKeyset ¶
func (x *ComputeMacRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*ComputeMacRequest) GetData ¶
func (x *ComputeMacRequest) GetData() []byte
func (*ComputeMacRequest) ProtoMessage ¶
func (*ComputeMacRequest) ProtoMessage()
func (*ComputeMacRequest) ProtoReflect ¶
func (x *ComputeMacRequest) ProtoReflect() protoreflect.Message
func (*ComputeMacRequest) Reset ¶
func (x *ComputeMacRequest) Reset()
func (*ComputeMacRequest) String ¶
func (x *ComputeMacRequest) String() string
type ComputeMacResponse ¶
type ComputeMacResponse struct { // Types that are assignable to Result: // // *ComputeMacResponse_MacValue // *ComputeMacResponse_Err Result isComputeMacResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*ComputeMacResponse) Descriptor
deprecated
func (*ComputeMacResponse) Descriptor() ([]byte, []int)
Deprecated: Use ComputeMacResponse.ProtoReflect.Descriptor instead.
func (*ComputeMacResponse) GetErr ¶
func (x *ComputeMacResponse) GetErr() string
func (*ComputeMacResponse) GetMacValue ¶
func (x *ComputeMacResponse) GetMacValue() []byte
func (*ComputeMacResponse) GetResult ¶
func (m *ComputeMacResponse) GetResult() isComputeMacResponse_Result
func (*ComputeMacResponse) ProtoMessage ¶
func (*ComputeMacResponse) ProtoMessage()
func (*ComputeMacResponse) ProtoReflect ¶
func (x *ComputeMacResponse) ProtoReflect() protoreflect.Message
func (*ComputeMacResponse) Reset ¶
func (x *ComputeMacResponse) Reset()
func (*ComputeMacResponse) String ¶
func (x *ComputeMacResponse) String() string
type ComputeMacResponse_Err ¶
type ComputeMacResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type ComputeMacResponse_MacValue ¶
type ComputeMacResponse_MacValue struct {
MacValue []byte `protobuf:"bytes,1,opt,name=mac_value,json=macValue,proto3,oneof"`
}
type CreationRequest ¶
type CreationRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` // contains filtered or unexported fields }
func (*CreationRequest) Descriptor
deprecated
func (*CreationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreationRequest.ProtoReflect.Descriptor instead.
func (*CreationRequest) GetAnnotatedKeyset ¶
func (x *CreationRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*CreationRequest) ProtoMessage ¶
func (*CreationRequest) ProtoMessage()
func (*CreationRequest) ProtoReflect ¶
func (x *CreationRequest) ProtoReflect() protoreflect.Message
func (*CreationRequest) Reset ¶
func (x *CreationRequest) Reset()
func (*CreationRequest) String ¶
func (x *CreationRequest) String() string
type CreationResponse ¶
type CreationResponse struct { // Empty means no error Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*CreationResponse) Descriptor
deprecated
func (*CreationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreationResponse.ProtoReflect.Descriptor instead.
func (*CreationResponse) GetErr ¶
func (x *CreationResponse) GetErr() string
func (*CreationResponse) ProtoMessage ¶
func (*CreationResponse) ProtoMessage()
func (*CreationResponse) ProtoReflect ¶
func (x *CreationResponse) ProtoReflect() protoreflect.Message
func (*CreationResponse) Reset ¶
func (x *CreationResponse) Reset()
func (*CreationResponse) String ¶
func (x *CreationResponse) String() string
type DeriveKeysetRequest ¶
type DeriveKeysetRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Salt []byte `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"` // contains filtered or unexported fields }
func (*DeriveKeysetRequest) Descriptor
deprecated
func (*DeriveKeysetRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeriveKeysetRequest.ProtoReflect.Descriptor instead.
func (*DeriveKeysetRequest) GetAnnotatedKeyset ¶
func (x *DeriveKeysetRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*DeriveKeysetRequest) GetSalt ¶
func (x *DeriveKeysetRequest) GetSalt() []byte
func (*DeriveKeysetRequest) ProtoMessage ¶
func (*DeriveKeysetRequest) ProtoMessage()
func (*DeriveKeysetRequest) ProtoReflect ¶
func (x *DeriveKeysetRequest) ProtoReflect() protoreflect.Message
func (*DeriveKeysetRequest) Reset ¶
func (x *DeriveKeysetRequest) Reset()
func (*DeriveKeysetRequest) String ¶
func (x *DeriveKeysetRequest) String() string
type DeriveKeysetResponse ¶
type DeriveKeysetResponse struct { // Types that are assignable to Result: // // *DeriveKeysetResponse_DerivedKeyset // *DeriveKeysetResponse_Err Result isDeriveKeysetResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*DeriveKeysetResponse) Descriptor
deprecated
func (*DeriveKeysetResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeriveKeysetResponse.ProtoReflect.Descriptor instead.
func (*DeriveKeysetResponse) GetDerivedKeyset ¶
func (x *DeriveKeysetResponse) GetDerivedKeyset() []byte
func (*DeriveKeysetResponse) GetErr ¶
func (x *DeriveKeysetResponse) GetErr() string
func (*DeriveKeysetResponse) GetResult ¶
func (m *DeriveKeysetResponse) GetResult() isDeriveKeysetResponse_Result
func (*DeriveKeysetResponse) ProtoMessage ¶
func (*DeriveKeysetResponse) ProtoMessage()
func (*DeriveKeysetResponse) ProtoReflect ¶
func (x *DeriveKeysetResponse) ProtoReflect() protoreflect.Message
func (*DeriveKeysetResponse) Reset ¶
func (x *DeriveKeysetResponse) Reset()
func (*DeriveKeysetResponse) String ¶
func (x *DeriveKeysetResponse) String() string
type DeriveKeysetResponse_DerivedKeyset ¶
type DeriveKeysetResponse_DerivedKeyset struct {
DerivedKeyset []byte `protobuf:"bytes,1,opt,name=derived_keyset,json=derivedKeyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type DeriveKeysetResponse_Err ¶
type DeriveKeysetResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type DeterministicAeadClient ¶
type DeterministicAeadClient interface { // Creates a Deterministic AEAD object without using it. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling // this. EncryptDeterministically(ctx context.Context, in *DeterministicAeadEncryptRequest, opts ...grpc.CallOption) (*DeterministicAeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling // this. DecryptDeterministically(ctx context.Context, in *DeterministicAeadDecryptRequest, opts ...grpc.CallOption) (*DeterministicAeadDecryptResponse, error) }
DeterministicAeadClient is the client API for DeterministicAead 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.
func NewDeterministicAeadClient ¶
func NewDeterministicAeadClient(cc grpc.ClientConnInterface) DeterministicAeadClient
type DeterministicAeadDecryptRequest ¶
type DeterministicAeadDecryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*DeterministicAeadDecryptRequest) Descriptor
deprecated
func (*DeterministicAeadDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeterministicAeadDecryptRequest.ProtoReflect.Descriptor instead.
func (*DeterministicAeadDecryptRequest) GetAnnotatedKeyset ¶
func (x *DeterministicAeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*DeterministicAeadDecryptRequest) GetAssociatedData ¶
func (x *DeterministicAeadDecryptRequest) GetAssociatedData() []byte
func (*DeterministicAeadDecryptRequest) GetCiphertext ¶
func (x *DeterministicAeadDecryptRequest) GetCiphertext() []byte
func (*DeterministicAeadDecryptRequest) ProtoMessage ¶
func (*DeterministicAeadDecryptRequest) ProtoMessage()
func (*DeterministicAeadDecryptRequest) ProtoReflect ¶
func (x *DeterministicAeadDecryptRequest) ProtoReflect() protoreflect.Message
func (*DeterministicAeadDecryptRequest) Reset ¶
func (x *DeterministicAeadDecryptRequest) Reset()
func (*DeterministicAeadDecryptRequest) String ¶
func (x *DeterministicAeadDecryptRequest) String() string
type DeterministicAeadDecryptResponse ¶
type DeterministicAeadDecryptResponse struct { // Types that are assignable to Result: // // *DeterministicAeadDecryptResponse_Plaintext // *DeterministicAeadDecryptResponse_Err Result isDeterministicAeadDecryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*DeterministicAeadDecryptResponse) Descriptor
deprecated
func (*DeterministicAeadDecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeterministicAeadDecryptResponse.ProtoReflect.Descriptor instead.
func (*DeterministicAeadDecryptResponse) GetErr ¶
func (x *DeterministicAeadDecryptResponse) GetErr() string
func (*DeterministicAeadDecryptResponse) GetPlaintext ¶
func (x *DeterministicAeadDecryptResponse) GetPlaintext() []byte
func (*DeterministicAeadDecryptResponse) GetResult ¶
func (m *DeterministicAeadDecryptResponse) GetResult() isDeterministicAeadDecryptResponse_Result
func (*DeterministicAeadDecryptResponse) ProtoMessage ¶
func (*DeterministicAeadDecryptResponse) ProtoMessage()
func (*DeterministicAeadDecryptResponse) ProtoReflect ¶
func (x *DeterministicAeadDecryptResponse) ProtoReflect() protoreflect.Message
func (*DeterministicAeadDecryptResponse) Reset ¶
func (x *DeterministicAeadDecryptResponse) Reset()
func (*DeterministicAeadDecryptResponse) String ¶
func (x *DeterministicAeadDecryptResponse) String() string
type DeterministicAeadDecryptResponse_Err ¶
type DeterministicAeadDecryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type DeterministicAeadDecryptResponse_Plaintext ¶
type DeterministicAeadDecryptResponse_Plaintext struct {
Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3,oneof"`
}
type DeterministicAeadEncryptRequest ¶
type DeterministicAeadEncryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*DeterministicAeadEncryptRequest) Descriptor
deprecated
func (*DeterministicAeadEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeterministicAeadEncryptRequest.ProtoReflect.Descriptor instead.
func (*DeterministicAeadEncryptRequest) GetAnnotatedKeyset ¶
func (x *DeterministicAeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*DeterministicAeadEncryptRequest) GetAssociatedData ¶
func (x *DeterministicAeadEncryptRequest) GetAssociatedData() []byte
func (*DeterministicAeadEncryptRequest) GetPlaintext ¶
func (x *DeterministicAeadEncryptRequest) GetPlaintext() []byte
func (*DeterministicAeadEncryptRequest) ProtoMessage ¶
func (*DeterministicAeadEncryptRequest) ProtoMessage()
func (*DeterministicAeadEncryptRequest) ProtoReflect ¶
func (x *DeterministicAeadEncryptRequest) ProtoReflect() protoreflect.Message
func (*DeterministicAeadEncryptRequest) Reset ¶
func (x *DeterministicAeadEncryptRequest) Reset()
func (*DeterministicAeadEncryptRequest) String ¶
func (x *DeterministicAeadEncryptRequest) String() string
type DeterministicAeadEncryptResponse ¶
type DeterministicAeadEncryptResponse struct { // Types that are assignable to Result: // // *DeterministicAeadEncryptResponse_Ciphertext // *DeterministicAeadEncryptResponse_Err Result isDeterministicAeadEncryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*DeterministicAeadEncryptResponse) Descriptor
deprecated
func (*DeterministicAeadEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeterministicAeadEncryptResponse.ProtoReflect.Descriptor instead.
func (*DeterministicAeadEncryptResponse) GetCiphertext ¶
func (x *DeterministicAeadEncryptResponse) GetCiphertext() []byte
func (*DeterministicAeadEncryptResponse) GetErr ¶
func (x *DeterministicAeadEncryptResponse) GetErr() string
func (*DeterministicAeadEncryptResponse) GetResult ¶
func (m *DeterministicAeadEncryptResponse) GetResult() isDeterministicAeadEncryptResponse_Result
func (*DeterministicAeadEncryptResponse) ProtoMessage ¶
func (*DeterministicAeadEncryptResponse) ProtoMessage()
func (*DeterministicAeadEncryptResponse) ProtoReflect ¶
func (x *DeterministicAeadEncryptResponse) ProtoReflect() protoreflect.Message
func (*DeterministicAeadEncryptResponse) Reset ¶
func (x *DeterministicAeadEncryptResponse) Reset()
func (*DeterministicAeadEncryptResponse) String ¶
func (x *DeterministicAeadEncryptResponse) String() string
type DeterministicAeadEncryptResponse_Ciphertext ¶
type DeterministicAeadEncryptResponse_Ciphertext struct {
Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3,oneof"`
}
type DeterministicAeadEncryptResponse_Err ¶
type DeterministicAeadEncryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type DeterministicAeadServer ¶
type DeterministicAeadServer interface { // Creates a Deterministic AEAD object without using it. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling // this. EncryptDeterministically(context.Context, *DeterministicAeadEncryptRequest) (*DeterministicAeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling // this. DecryptDeterministically(context.Context, *DeterministicAeadDecryptRequest) (*DeterministicAeadDecryptResponse, error) // contains filtered or unexported methods }
DeterministicAeadServer is the server API for DeterministicAead service. All implementations must embed UnimplementedDeterministicAeadServer for forward compatibility
type HybridClient ¶
type HybridClient interface { // Creates a HybridEncrypt object without using it. CreateHybridEncrypt(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Creates a HybridDecrypt object without using it. CreateHybridDecrypt(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Encrypts plaintext binding context_info to the resulting ciphertext. The // client must call "CreateHybridEncrypt" first to see if creation succeeds // before calling this. Encrypt(ctx context.Context, in *HybridEncryptRequest, opts ...grpc.CallOption) (*HybridEncryptResponse, error) // Decrypts ciphertext verifying the integrity of context_info. The client // must call "CreateHybridDecrypt" first to see if creation succeeds before // calling this. Decrypt(ctx context.Context, in *HybridDecryptRequest, opts ...grpc.CallOption) (*HybridDecryptResponse, error) }
HybridClient is the client API for Hybrid 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.
func NewHybridClient ¶
func NewHybridClient(cc grpc.ClientConnInterface) HybridClient
type HybridDecryptRequest ¶
type HybridDecryptRequest struct { PrivateAnnotatedKeyset *AnnotatedKeyset `` /* 129-byte string literal not displayed */ Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` ContextInfo []byte `protobuf:"bytes,3,opt,name=context_info,json=contextInfo,proto3" json:"context_info,omitempty"` // contains filtered or unexported fields }
func (*HybridDecryptRequest) Descriptor
deprecated
func (*HybridDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use HybridDecryptRequest.ProtoReflect.Descriptor instead.
func (*HybridDecryptRequest) GetCiphertext ¶
func (x *HybridDecryptRequest) GetCiphertext() []byte
func (*HybridDecryptRequest) GetContextInfo ¶
func (x *HybridDecryptRequest) GetContextInfo() []byte
func (*HybridDecryptRequest) GetPrivateAnnotatedKeyset ¶
func (x *HybridDecryptRequest) GetPrivateAnnotatedKeyset() *AnnotatedKeyset
func (*HybridDecryptRequest) ProtoMessage ¶
func (*HybridDecryptRequest) ProtoMessage()
func (*HybridDecryptRequest) ProtoReflect ¶
func (x *HybridDecryptRequest) ProtoReflect() protoreflect.Message
func (*HybridDecryptRequest) Reset ¶
func (x *HybridDecryptRequest) Reset()
func (*HybridDecryptRequest) String ¶
func (x *HybridDecryptRequest) String() string
type HybridDecryptResponse ¶
type HybridDecryptResponse struct { // Types that are assignable to Result: // // *HybridDecryptResponse_Plaintext // *HybridDecryptResponse_Err Result isHybridDecryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*HybridDecryptResponse) Descriptor
deprecated
func (*HybridDecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use HybridDecryptResponse.ProtoReflect.Descriptor instead.
func (*HybridDecryptResponse) GetErr ¶
func (x *HybridDecryptResponse) GetErr() string
func (*HybridDecryptResponse) GetPlaintext ¶
func (x *HybridDecryptResponse) GetPlaintext() []byte
func (*HybridDecryptResponse) GetResult ¶
func (m *HybridDecryptResponse) GetResult() isHybridDecryptResponse_Result
func (*HybridDecryptResponse) ProtoMessage ¶
func (*HybridDecryptResponse) ProtoMessage()
func (*HybridDecryptResponse) ProtoReflect ¶
func (x *HybridDecryptResponse) ProtoReflect() protoreflect.Message
func (*HybridDecryptResponse) Reset ¶
func (x *HybridDecryptResponse) Reset()
func (*HybridDecryptResponse) String ¶
func (x *HybridDecryptResponse) String() string
type HybridDecryptResponse_Err ¶
type HybridDecryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type HybridDecryptResponse_Plaintext ¶
type HybridDecryptResponse_Plaintext struct {
Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3,oneof"`
}
type HybridEncryptRequest ¶
type HybridEncryptRequest struct { PublicAnnotatedKeyset *AnnotatedKeyset `` /* 126-byte string literal not displayed */ Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` ContextInfo []byte `protobuf:"bytes,3,opt,name=context_info,json=contextInfo,proto3" json:"context_info,omitempty"` // contains filtered or unexported fields }
func (*HybridEncryptRequest) Descriptor
deprecated
func (*HybridEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use HybridEncryptRequest.ProtoReflect.Descriptor instead.
func (*HybridEncryptRequest) GetContextInfo ¶
func (x *HybridEncryptRequest) GetContextInfo() []byte
func (*HybridEncryptRequest) GetPlaintext ¶
func (x *HybridEncryptRequest) GetPlaintext() []byte
func (*HybridEncryptRequest) GetPublicAnnotatedKeyset ¶
func (x *HybridEncryptRequest) GetPublicAnnotatedKeyset() *AnnotatedKeyset
func (*HybridEncryptRequest) ProtoMessage ¶
func (*HybridEncryptRequest) ProtoMessage()
func (*HybridEncryptRequest) ProtoReflect ¶
func (x *HybridEncryptRequest) ProtoReflect() protoreflect.Message
func (*HybridEncryptRequest) Reset ¶
func (x *HybridEncryptRequest) Reset()
func (*HybridEncryptRequest) String ¶
func (x *HybridEncryptRequest) String() string
type HybridEncryptResponse ¶
type HybridEncryptResponse struct { // Types that are assignable to Result: // // *HybridEncryptResponse_Ciphertext // *HybridEncryptResponse_Err Result isHybridEncryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*HybridEncryptResponse) Descriptor
deprecated
func (*HybridEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use HybridEncryptResponse.ProtoReflect.Descriptor instead.
func (*HybridEncryptResponse) GetCiphertext ¶
func (x *HybridEncryptResponse) GetCiphertext() []byte
func (*HybridEncryptResponse) GetErr ¶
func (x *HybridEncryptResponse) GetErr() string
func (*HybridEncryptResponse) GetResult ¶
func (m *HybridEncryptResponse) GetResult() isHybridEncryptResponse_Result
func (*HybridEncryptResponse) ProtoMessage ¶
func (*HybridEncryptResponse) ProtoMessage()
func (*HybridEncryptResponse) ProtoReflect ¶
func (x *HybridEncryptResponse) ProtoReflect() protoreflect.Message
func (*HybridEncryptResponse) Reset ¶
func (x *HybridEncryptResponse) Reset()
func (*HybridEncryptResponse) String ¶
func (x *HybridEncryptResponse) String() string
type HybridEncryptResponse_Ciphertext ¶
type HybridEncryptResponse_Ciphertext struct {
Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3,oneof"`
}
type HybridEncryptResponse_Err ¶
type HybridEncryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type HybridServer ¶
type HybridServer interface { // Creates a HybridEncrypt object without using it. CreateHybridEncrypt(context.Context, *CreationRequest) (*CreationResponse, error) // Creates a HybridDecrypt object without using it. CreateHybridDecrypt(context.Context, *CreationRequest) (*CreationResponse, error) // Encrypts plaintext binding context_info to the resulting ciphertext. The // client must call "CreateHybridEncrypt" first to see if creation succeeds // before calling this. Encrypt(context.Context, *HybridEncryptRequest) (*HybridEncryptResponse, error) // Decrypts ciphertext verifying the integrity of context_info. The client // must call "CreateHybridDecrypt" first to see if creation succeeds before // calling this. Decrypt(context.Context, *HybridDecryptRequest) (*HybridDecryptResponse, error) // contains filtered or unexported methods }
HybridServer is the server API for Hybrid service. All implementations must embed UnimplementedHybridServer for forward compatibility
type JwtClaimValue ¶
type JwtClaimValue struct { // Types that are assignable to Kind: // // *JwtClaimValue_NullValue // *JwtClaimValue_NumberValue // *JwtClaimValue_StringValue // *JwtClaimValue_BoolValue // *JwtClaimValue_JsonObjectValue // *JwtClaimValue_JsonArrayValue Kind isJwtClaimValue_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*JwtClaimValue) Descriptor
deprecated
func (*JwtClaimValue) Descriptor() ([]byte, []int)
Deprecated: Use JwtClaimValue.ProtoReflect.Descriptor instead.
func (*JwtClaimValue) GetBoolValue ¶
func (x *JwtClaimValue) GetBoolValue() bool
func (*JwtClaimValue) GetJsonArrayValue ¶
func (x *JwtClaimValue) GetJsonArrayValue() string
func (*JwtClaimValue) GetJsonObjectValue ¶
func (x *JwtClaimValue) GetJsonObjectValue() string
func (*JwtClaimValue) GetKind ¶
func (m *JwtClaimValue) GetKind() isJwtClaimValue_Kind
func (*JwtClaimValue) GetNullValue ¶
func (x *JwtClaimValue) GetNullValue() NullValue
func (*JwtClaimValue) GetNumberValue ¶
func (x *JwtClaimValue) GetNumberValue() float64
func (*JwtClaimValue) GetStringValue ¶
func (x *JwtClaimValue) GetStringValue() string
func (*JwtClaimValue) ProtoMessage ¶
func (*JwtClaimValue) ProtoMessage()
func (*JwtClaimValue) ProtoReflect ¶
func (x *JwtClaimValue) ProtoReflect() protoreflect.Message
func (*JwtClaimValue) Reset ¶
func (x *JwtClaimValue) Reset()
func (*JwtClaimValue) String ¶
func (x *JwtClaimValue) String() string
type JwtClaimValue_BoolValue ¶
type JwtClaimValue_BoolValue struct {
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type JwtClaimValue_JsonArrayValue ¶
type JwtClaimValue_JsonArrayValue struct {
JsonArrayValue string `protobuf:"bytes,7,opt,name=json_array_value,json=jsonArrayValue,proto3,oneof"`
}
type JwtClaimValue_JsonObjectValue ¶
type JwtClaimValue_JsonObjectValue struct {
JsonObjectValue string `protobuf:"bytes,6,opt,name=json_object_value,json=jsonObjectValue,proto3,oneof"`
}
type JwtClaimValue_NullValue ¶
type JwtClaimValue_NullValue struct {
NullValue NullValue `protobuf:"varint,2,opt,name=null_value,json=nullValue,proto3,enum=tink_testing_api.NullValue,oneof"`
}
type JwtClaimValue_NumberValue ¶
type JwtClaimValue_NumberValue struct {
NumberValue float64 `protobuf:"fixed64,3,opt,name=number_value,json=numberValue,proto3,oneof"`
}
type JwtClaimValue_StringValue ¶
type JwtClaimValue_StringValue struct {
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type JwtClient ¶
type JwtClient interface { // Creates a JwtMac object without using it. CreateJwtMac(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Creates a JwtPublicKeySign object without using it. CreateJwtPublicKeySign(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Creates a JwtPublicKeyVerify object without using it. CreateJwtPublicKeyVerify(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Computes a signed compact JWT token. ComputeMacAndEncode(ctx context.Context, in *JwtSignRequest, opts ...grpc.CallOption) (*JwtSignResponse, error) // Verifies the validity of the signed compact JWT token VerifyMacAndDecode(ctx context.Context, in *JwtVerifyRequest, opts ...grpc.CallOption) (*JwtVerifyResponse, error) // Computes a signed compact JWT token. PublicKeySignAndEncode(ctx context.Context, in *JwtSignRequest, opts ...grpc.CallOption) (*JwtSignResponse, error) // Verifies the validity of the signed compact JWT token PublicKeyVerifyAndDecode(ctx context.Context, in *JwtVerifyRequest, opts ...grpc.CallOption) (*JwtVerifyResponse, error) // Converts a Keyset from Tink Binary to JWK Set Format ToJwkSet(ctx context.Context, in *JwtToJwkSetRequest, opts ...grpc.CallOption) (*JwtToJwkSetResponse, error) // Converts a Keyset from JWK Set to Tink Binary Format FromJwkSet(ctx context.Context, in *JwtFromJwkSetRequest, opts ...grpc.CallOption) (*JwtFromJwkSetResponse, error) }
JwtClient is the client API for Jwt 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.
func NewJwtClient ¶
func NewJwtClient(cc grpc.ClientConnInterface) JwtClient
type JwtFromJwkSetRequest ¶
type JwtFromJwkSetRequest struct { JwkSet string `protobuf:"bytes,1,opt,name=jwk_set,json=jwkSet,proto3" json:"jwk_set,omitempty"` // contains filtered or unexported fields }
func (*JwtFromJwkSetRequest) Descriptor
deprecated
func (*JwtFromJwkSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use JwtFromJwkSetRequest.ProtoReflect.Descriptor instead.
func (*JwtFromJwkSetRequest) GetJwkSet ¶
func (x *JwtFromJwkSetRequest) GetJwkSet() string
func (*JwtFromJwkSetRequest) ProtoMessage ¶
func (*JwtFromJwkSetRequest) ProtoMessage()
func (*JwtFromJwkSetRequest) ProtoReflect ¶
func (x *JwtFromJwkSetRequest) ProtoReflect() protoreflect.Message
func (*JwtFromJwkSetRequest) Reset ¶
func (x *JwtFromJwkSetRequest) Reset()
func (*JwtFromJwkSetRequest) String ¶
func (x *JwtFromJwkSetRequest) String() string
type JwtFromJwkSetResponse ¶
type JwtFromJwkSetResponse struct { // Types that are assignable to Result: // // *JwtFromJwkSetResponse_Keyset // *JwtFromJwkSetResponse_Err Result isJwtFromJwkSetResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*JwtFromJwkSetResponse) Descriptor
deprecated
func (*JwtFromJwkSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use JwtFromJwkSetResponse.ProtoReflect.Descriptor instead.
func (*JwtFromJwkSetResponse) GetErr ¶
func (x *JwtFromJwkSetResponse) GetErr() string
func (*JwtFromJwkSetResponse) GetKeyset ¶
func (x *JwtFromJwkSetResponse) GetKeyset() []byte
func (*JwtFromJwkSetResponse) GetResult ¶
func (m *JwtFromJwkSetResponse) GetResult() isJwtFromJwkSetResponse_Result
func (*JwtFromJwkSetResponse) ProtoMessage ¶
func (*JwtFromJwkSetResponse) ProtoMessage()
func (*JwtFromJwkSetResponse) ProtoReflect ¶
func (x *JwtFromJwkSetResponse) ProtoReflect() protoreflect.Message
func (*JwtFromJwkSetResponse) Reset ¶
func (x *JwtFromJwkSetResponse) Reset()
func (*JwtFromJwkSetResponse) String ¶
func (x *JwtFromJwkSetResponse) String() string
type JwtFromJwkSetResponse_Err ¶
type JwtFromJwkSetResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type JwtFromJwkSetResponse_Keyset ¶
type JwtFromJwkSetResponse_Keyset struct {
Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type JwtServer ¶
type JwtServer interface { // Creates a JwtMac object without using it. CreateJwtMac(context.Context, *CreationRequest) (*CreationResponse, error) // Creates a JwtPublicKeySign object without using it. CreateJwtPublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error) // Creates a JwtPublicKeyVerify object without using it. CreateJwtPublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error) // Computes a signed compact JWT token. ComputeMacAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error) // Verifies the validity of the signed compact JWT token VerifyMacAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error) // Computes a signed compact JWT token. PublicKeySignAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error) // Verifies the validity of the signed compact JWT token PublicKeyVerifyAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error) // Converts a Keyset from Tink Binary to JWK Set Format ToJwkSet(context.Context, *JwtToJwkSetRequest) (*JwtToJwkSetResponse, error) // Converts a Keyset from JWK Set to Tink Binary Format FromJwkSet(context.Context, *JwtFromJwkSetRequest) (*JwtFromJwkSetResponse, error) // contains filtered or unexported methods }
JwtServer is the server API for Jwt service. All implementations must embed UnimplementedJwtServer for forward compatibility
type JwtSignRequest ¶
type JwtSignRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` RawJwt *JwtToken `protobuf:"bytes,2,opt,name=raw_jwt,json=rawJwt,proto3" json:"raw_jwt,omitempty"` // contains filtered or unexported fields }
func (*JwtSignRequest) Descriptor
deprecated
func (*JwtSignRequest) Descriptor() ([]byte, []int)
Deprecated: Use JwtSignRequest.ProtoReflect.Descriptor instead.
func (*JwtSignRequest) GetAnnotatedKeyset ¶
func (x *JwtSignRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*JwtSignRequest) GetRawJwt ¶
func (x *JwtSignRequest) GetRawJwt() *JwtToken
func (*JwtSignRequest) ProtoMessage ¶
func (*JwtSignRequest) ProtoMessage()
func (*JwtSignRequest) ProtoReflect ¶
func (x *JwtSignRequest) ProtoReflect() protoreflect.Message
func (*JwtSignRequest) Reset ¶
func (x *JwtSignRequest) Reset()
func (*JwtSignRequest) String ¶
func (x *JwtSignRequest) String() string
type JwtSignResponse ¶
type JwtSignResponse struct { // Types that are assignable to Result: // // *JwtSignResponse_SignedCompactJwt // *JwtSignResponse_Err Result isJwtSignResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*JwtSignResponse) Descriptor
deprecated
func (*JwtSignResponse) Descriptor() ([]byte, []int)
Deprecated: Use JwtSignResponse.ProtoReflect.Descriptor instead.
func (*JwtSignResponse) GetErr ¶
func (x *JwtSignResponse) GetErr() string
func (*JwtSignResponse) GetResult ¶
func (m *JwtSignResponse) GetResult() isJwtSignResponse_Result
func (*JwtSignResponse) GetSignedCompactJwt ¶
func (x *JwtSignResponse) GetSignedCompactJwt() string
func (*JwtSignResponse) ProtoMessage ¶
func (*JwtSignResponse) ProtoMessage()
func (*JwtSignResponse) ProtoReflect ¶
func (x *JwtSignResponse) ProtoReflect() protoreflect.Message
func (*JwtSignResponse) Reset ¶
func (x *JwtSignResponse) Reset()
func (*JwtSignResponse) String ¶
func (x *JwtSignResponse) String() string
type JwtSignResponse_Err ¶
type JwtSignResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type JwtSignResponse_SignedCompactJwt ¶
type JwtSignResponse_SignedCompactJwt struct {
SignedCompactJwt string `protobuf:"bytes,1,opt,name=signed_compact_jwt,json=signedCompactJwt,proto3,oneof"`
}
type JwtToJwkSetRequest ¶
type JwtToJwkSetRequest struct { Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3" json:"keyset,omitempty"` // serialized google.crypto.tink.Keyset. // contains filtered or unexported fields }
func (*JwtToJwkSetRequest) Descriptor
deprecated
func (*JwtToJwkSetRequest) Descriptor() ([]byte, []int)
Deprecated: Use JwtToJwkSetRequest.ProtoReflect.Descriptor instead.
func (*JwtToJwkSetRequest) GetKeyset ¶
func (x *JwtToJwkSetRequest) GetKeyset() []byte
func (*JwtToJwkSetRequest) ProtoMessage ¶
func (*JwtToJwkSetRequest) ProtoMessage()
func (*JwtToJwkSetRequest) ProtoReflect ¶
func (x *JwtToJwkSetRequest) ProtoReflect() protoreflect.Message
func (*JwtToJwkSetRequest) Reset ¶
func (x *JwtToJwkSetRequest) Reset()
func (*JwtToJwkSetRequest) String ¶
func (x *JwtToJwkSetRequest) String() string
type JwtToJwkSetResponse ¶
type JwtToJwkSetResponse struct { // Types that are assignable to Result: // // *JwtToJwkSetResponse_JwkSet // *JwtToJwkSetResponse_Err Result isJwtToJwkSetResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*JwtToJwkSetResponse) Descriptor
deprecated
func (*JwtToJwkSetResponse) Descriptor() ([]byte, []int)
Deprecated: Use JwtToJwkSetResponse.ProtoReflect.Descriptor instead.
func (*JwtToJwkSetResponse) GetErr ¶
func (x *JwtToJwkSetResponse) GetErr() string
func (*JwtToJwkSetResponse) GetJwkSet ¶
func (x *JwtToJwkSetResponse) GetJwkSet() string
func (*JwtToJwkSetResponse) GetResult ¶
func (m *JwtToJwkSetResponse) GetResult() isJwtToJwkSetResponse_Result
func (*JwtToJwkSetResponse) ProtoMessage ¶
func (*JwtToJwkSetResponse) ProtoMessage()
func (*JwtToJwkSetResponse) ProtoReflect ¶
func (x *JwtToJwkSetResponse) ProtoReflect() protoreflect.Message
func (*JwtToJwkSetResponse) Reset ¶
func (x *JwtToJwkSetResponse) Reset()
func (*JwtToJwkSetResponse) String ¶
func (x *JwtToJwkSetResponse) String() string
type JwtToJwkSetResponse_Err ¶
type JwtToJwkSetResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type JwtToJwkSetResponse_JwkSet ¶
type JwtToJwkSetResponse_JwkSet struct {
JwkSet string `protobuf:"bytes,1,opt,name=jwk_set,json=jwkSet,proto3,oneof"`
}
type JwtToken ¶
type JwtToken struct { Issuer *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=issuer,proto3" json:"issuer,omitempty"` Subject *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"` Audiences []string `protobuf:"bytes,3,rep,name=audiences,proto3" json:"audiences,omitempty"` JwtId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=jwt_id,json=jwtId,proto3" json:"jwt_id,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` NotBefore *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"` IssuedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"` CustomClaims map[string]*JwtClaimValue `` /* 185-byte string literal not displayed */ TypeHeader *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=type_header,json=typeHeader,proto3" json:"type_header,omitempty"` // contains filtered or unexported fields }
func (*JwtToken) Descriptor
deprecated
func (*JwtToken) GetAudiences ¶
func (*JwtToken) GetCustomClaims ¶
func (x *JwtToken) GetCustomClaims() map[string]*JwtClaimValue
func (*JwtToken) GetExpiration ¶
func (x *JwtToken) GetExpiration() *timestamppb.Timestamp
func (*JwtToken) GetIssuedAt ¶
func (x *JwtToken) GetIssuedAt() *timestamppb.Timestamp
func (*JwtToken) GetIssuer ¶
func (x *JwtToken) GetIssuer() *wrapperspb.StringValue
func (*JwtToken) GetJwtId ¶
func (x *JwtToken) GetJwtId() *wrapperspb.StringValue
func (*JwtToken) GetNotBefore ¶
func (x *JwtToken) GetNotBefore() *timestamppb.Timestamp
func (*JwtToken) GetSubject ¶
func (x *JwtToken) GetSubject() *wrapperspb.StringValue
func (*JwtToken) GetTypeHeader ¶
func (x *JwtToken) GetTypeHeader() *wrapperspb.StringValue
func (*JwtToken) ProtoMessage ¶
func (*JwtToken) ProtoMessage()
func (*JwtToken) ProtoReflect ¶
func (x *JwtToken) ProtoReflect() protoreflect.Message
type JwtValidator ¶
type JwtValidator struct { ExpectedTypeHeader *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=expected_type_header,json=expectedTypeHeader,proto3" json:"expected_type_header,omitempty"` ExpectedIssuer *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=expected_issuer,json=expectedIssuer,proto3" json:"expected_issuer,omitempty"` ExpectedAudience *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=expected_audience,json=expectedAudience,proto3" json:"expected_audience,omitempty"` IgnoreTypeHeader bool `protobuf:"varint,8,opt,name=ignore_type_header,json=ignoreTypeHeader,proto3" json:"ignore_type_header,omitempty"` IgnoreIssuer bool `protobuf:"varint,9,opt,name=ignore_issuer,json=ignoreIssuer,proto3" json:"ignore_issuer,omitempty"` IgnoreAudience bool `protobuf:"varint,11,opt,name=ignore_audience,json=ignoreAudience,proto3" json:"ignore_audience,omitempty"` AllowMissingExpiration bool `` /* 131-byte string literal not displayed */ ExpectIssuedInThePast bool `` /* 132-byte string literal not displayed */ Now *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=now,proto3" json:"now,omitempty"` ClockSkew *durationpb.Duration `protobuf:"bytes,6,opt,name=clock_skew,json=clockSkew,proto3" json:"clock_skew,omitempty"` // contains filtered or unexported fields }
func (*JwtValidator) Descriptor
deprecated
func (*JwtValidator) Descriptor() ([]byte, []int)
Deprecated: Use JwtValidator.ProtoReflect.Descriptor instead.
func (*JwtValidator) GetAllowMissingExpiration ¶
func (x *JwtValidator) GetAllowMissingExpiration() bool
func (*JwtValidator) GetClockSkew ¶
func (x *JwtValidator) GetClockSkew() *durationpb.Duration
func (*JwtValidator) GetExpectIssuedInThePast ¶
func (x *JwtValidator) GetExpectIssuedInThePast() bool
func (*JwtValidator) GetExpectedAudience ¶
func (x *JwtValidator) GetExpectedAudience() *wrapperspb.StringValue
func (*JwtValidator) GetExpectedIssuer ¶
func (x *JwtValidator) GetExpectedIssuer() *wrapperspb.StringValue
func (*JwtValidator) GetExpectedTypeHeader ¶
func (x *JwtValidator) GetExpectedTypeHeader() *wrapperspb.StringValue
func (*JwtValidator) GetIgnoreAudience ¶
func (x *JwtValidator) GetIgnoreAudience() bool
func (*JwtValidator) GetIgnoreIssuer ¶
func (x *JwtValidator) GetIgnoreIssuer() bool
func (*JwtValidator) GetIgnoreTypeHeader ¶
func (x *JwtValidator) GetIgnoreTypeHeader() bool
func (*JwtValidator) GetNow ¶
func (x *JwtValidator) GetNow() *timestamppb.Timestamp
func (*JwtValidator) ProtoMessage ¶
func (*JwtValidator) ProtoMessage()
func (*JwtValidator) ProtoReflect ¶
func (x *JwtValidator) ProtoReflect() protoreflect.Message
func (*JwtValidator) Reset ¶
func (x *JwtValidator) Reset()
func (*JwtValidator) String ¶
func (x *JwtValidator) String() string
type JwtVerifyRequest ¶
type JwtVerifyRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` SignedCompactJwt string `protobuf:"bytes,2,opt,name=signed_compact_jwt,json=signedCompactJwt,proto3" json:"signed_compact_jwt,omitempty"` Validator *JwtValidator `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` // contains filtered or unexported fields }
func (*JwtVerifyRequest) Descriptor
deprecated
func (*JwtVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use JwtVerifyRequest.ProtoReflect.Descriptor instead.
func (*JwtVerifyRequest) GetAnnotatedKeyset ¶
func (x *JwtVerifyRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*JwtVerifyRequest) GetSignedCompactJwt ¶
func (x *JwtVerifyRequest) GetSignedCompactJwt() string
func (*JwtVerifyRequest) GetValidator ¶
func (x *JwtVerifyRequest) GetValidator() *JwtValidator
func (*JwtVerifyRequest) ProtoMessage ¶
func (*JwtVerifyRequest) ProtoMessage()
func (*JwtVerifyRequest) ProtoReflect ¶
func (x *JwtVerifyRequest) ProtoReflect() protoreflect.Message
func (*JwtVerifyRequest) Reset ¶
func (x *JwtVerifyRequest) Reset()
func (*JwtVerifyRequest) String ¶
func (x *JwtVerifyRequest) String() string
type JwtVerifyResponse ¶
type JwtVerifyResponse struct { // Types that are assignable to Result: // // *JwtVerifyResponse_VerifiedJwt // *JwtVerifyResponse_Err Result isJwtVerifyResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*JwtVerifyResponse) Descriptor
deprecated
func (*JwtVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use JwtVerifyResponse.ProtoReflect.Descriptor instead.
func (*JwtVerifyResponse) GetErr ¶
func (x *JwtVerifyResponse) GetErr() string
func (*JwtVerifyResponse) GetResult ¶
func (m *JwtVerifyResponse) GetResult() isJwtVerifyResponse_Result
func (*JwtVerifyResponse) GetVerifiedJwt ¶
func (x *JwtVerifyResponse) GetVerifiedJwt() *JwtToken
func (*JwtVerifyResponse) ProtoMessage ¶
func (*JwtVerifyResponse) ProtoMessage()
func (*JwtVerifyResponse) ProtoReflect ¶
func (x *JwtVerifyResponse) ProtoReflect() protoreflect.Message
func (*JwtVerifyResponse) Reset ¶
func (x *JwtVerifyResponse) Reset()
func (*JwtVerifyResponse) String ¶
func (x *JwtVerifyResponse) String() string
type JwtVerifyResponse_Err ¶
type JwtVerifyResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type JwtVerifyResponse_VerifiedJwt ¶
type JwtVerifyResponse_VerifiedJwt struct {
VerifiedJwt *JwtToken `protobuf:"bytes,1,opt,name=verified_jwt,json=verifiedJwt,proto3,oneof"`
}
type KeysetClient ¶
type KeysetClient interface { // Generates a key template from a key template name. GetTemplate(ctx context.Context, in *KeysetTemplateRequest, opts ...grpc.CallOption) (*KeysetTemplateResponse, error) // Generates a new keyset from a template. Generate(ctx context.Context, in *KeysetGenerateRequest, opts ...grpc.CallOption) (*KeysetGenerateResponse, error) // Generates a public-key keyset from a private-key keyset. Public(ctx context.Context, in *KeysetPublicRequest, opts ...grpc.CallOption) (*KeysetPublicResponse, error) // Converts a Keyset from Binary to Json Format ToJson(ctx context.Context, in *KeysetToJsonRequest, opts ...grpc.CallOption) (*KeysetToJsonResponse, error) // Converts a Keyset from Json to Binary Format FromJson(ctx context.Context, in *KeysetFromJsonRequest, opts ...grpc.CallOption) (*KeysetFromJsonResponse, error) // Reads an encrypted keyset using KeysetHandle.read() or // KeysetHandle.readWithAssociatedData() and the BinaryKeysetReader. ReadEncrypted(ctx context.Context, in *KeysetReadEncryptedRequest, opts ...grpc.CallOption) (*KeysetReadEncryptedResponse, error) // Writes an encrypted keyset using KeysetHandle.write() or // KeysetHandle.writeWithAssociatedData() and the BinaryKeysetWriter. WriteEncrypted(ctx context.Context, in *KeysetWriteEncryptedRequest, opts ...grpc.CallOption) (*KeysetWriteEncryptedResponse, error) }
KeysetClient is the client API for Keyset 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.
func NewKeysetClient ¶
func NewKeysetClient(cc grpc.ClientConnInterface) KeysetClient
type KeysetDeriverClient ¶
type KeysetDeriverClient interface { // Creates an KeysetDeriver object. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Derives keyset. The client must successfully call "Create" first. DeriveKeyset(ctx context.Context, in *DeriveKeysetRequest, opts ...grpc.CallOption) (*DeriveKeysetResponse, error) }
KeysetDeriverClient is the client API for KeysetDeriver 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.
func NewKeysetDeriverClient ¶
func NewKeysetDeriverClient(cc grpc.ClientConnInterface) KeysetDeriverClient
type KeysetDeriverServer ¶
type KeysetDeriverServer interface { // Creates an KeysetDeriver object. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Derives keyset. The client must successfully call "Create" first. DeriveKeyset(context.Context, *DeriveKeysetRequest) (*DeriveKeysetResponse, error) // contains filtered or unexported methods }
KeysetDeriverServer is the server API for KeysetDeriver service. All implementations must embed UnimplementedKeysetDeriverServer for forward compatibility
type KeysetFromJsonRequest ¶
type KeysetFromJsonRequest struct { JsonKeyset string `protobuf:"bytes,1,opt,name=json_keyset,json=jsonKeyset,proto3" json:"json_keyset,omitempty"` // contains filtered or unexported fields }
func (*KeysetFromJsonRequest) Descriptor
deprecated
func (*KeysetFromJsonRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetFromJsonRequest.ProtoReflect.Descriptor instead.
func (*KeysetFromJsonRequest) GetJsonKeyset ¶
func (x *KeysetFromJsonRequest) GetJsonKeyset() string
func (*KeysetFromJsonRequest) ProtoMessage ¶
func (*KeysetFromJsonRequest) ProtoMessage()
func (*KeysetFromJsonRequest) ProtoReflect ¶
func (x *KeysetFromJsonRequest) ProtoReflect() protoreflect.Message
func (*KeysetFromJsonRequest) Reset ¶
func (x *KeysetFromJsonRequest) Reset()
func (*KeysetFromJsonRequest) String ¶
func (x *KeysetFromJsonRequest) String() string
type KeysetFromJsonResponse ¶
type KeysetFromJsonResponse struct { // Types that are assignable to Result: // // *KeysetFromJsonResponse_Keyset // *KeysetFromJsonResponse_Err Result isKeysetFromJsonResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetFromJsonResponse) Descriptor
deprecated
func (*KeysetFromJsonResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetFromJsonResponse.ProtoReflect.Descriptor instead.
func (*KeysetFromJsonResponse) GetErr ¶
func (x *KeysetFromJsonResponse) GetErr() string
func (*KeysetFromJsonResponse) GetKeyset ¶
func (x *KeysetFromJsonResponse) GetKeyset() []byte
func (*KeysetFromJsonResponse) GetResult ¶
func (m *KeysetFromJsonResponse) GetResult() isKeysetFromJsonResponse_Result
func (*KeysetFromJsonResponse) ProtoMessage ¶
func (*KeysetFromJsonResponse) ProtoMessage()
func (*KeysetFromJsonResponse) ProtoReflect ¶
func (x *KeysetFromJsonResponse) ProtoReflect() protoreflect.Message
func (*KeysetFromJsonResponse) Reset ¶
func (x *KeysetFromJsonResponse) Reset()
func (*KeysetFromJsonResponse) String ¶
func (x *KeysetFromJsonResponse) String() string
type KeysetFromJsonResponse_Err ¶
type KeysetFromJsonResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetFromJsonResponse_Keyset ¶
type KeysetFromJsonResponse_Keyset struct {
Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type KeysetGenerateRequest ¶
type KeysetGenerateRequest struct { Template []byte `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"` // serialized google.crypto.tink.KeyTemplate. // contains filtered or unexported fields }
func (*KeysetGenerateRequest) Descriptor
deprecated
func (*KeysetGenerateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetGenerateRequest.ProtoReflect.Descriptor instead.
func (*KeysetGenerateRequest) GetTemplate ¶
func (x *KeysetGenerateRequest) GetTemplate() []byte
func (*KeysetGenerateRequest) ProtoMessage ¶
func (*KeysetGenerateRequest) ProtoMessage()
func (*KeysetGenerateRequest) ProtoReflect ¶
func (x *KeysetGenerateRequest) ProtoReflect() protoreflect.Message
func (*KeysetGenerateRequest) Reset ¶
func (x *KeysetGenerateRequest) Reset()
func (*KeysetGenerateRequest) String ¶
func (x *KeysetGenerateRequest) String() string
type KeysetGenerateResponse ¶
type KeysetGenerateResponse struct { // Types that are assignable to Result: // // *KeysetGenerateResponse_Keyset // *KeysetGenerateResponse_Err Result isKeysetGenerateResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetGenerateResponse) Descriptor
deprecated
func (*KeysetGenerateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetGenerateResponse.ProtoReflect.Descriptor instead.
func (*KeysetGenerateResponse) GetErr ¶
func (x *KeysetGenerateResponse) GetErr() string
func (*KeysetGenerateResponse) GetKeyset ¶
func (x *KeysetGenerateResponse) GetKeyset() []byte
func (*KeysetGenerateResponse) GetResult ¶
func (m *KeysetGenerateResponse) GetResult() isKeysetGenerateResponse_Result
func (*KeysetGenerateResponse) ProtoMessage ¶
func (*KeysetGenerateResponse) ProtoMessage()
func (*KeysetGenerateResponse) ProtoReflect ¶
func (x *KeysetGenerateResponse) ProtoReflect() protoreflect.Message
func (*KeysetGenerateResponse) Reset ¶
func (x *KeysetGenerateResponse) Reset()
func (*KeysetGenerateResponse) String ¶
func (x *KeysetGenerateResponse) String() string
type KeysetGenerateResponse_Err ¶
type KeysetGenerateResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetGenerateResponse_Keyset ¶
type KeysetGenerateResponse_Keyset struct {
Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type KeysetPublicRequest ¶
type KeysetPublicRequest struct { PrivateKeyset []byte `protobuf:"bytes,1,opt,name=private_keyset,json=privateKeyset,proto3" json:"private_keyset,omitempty"` // serialized google.crypto.tink.Keyset. // contains filtered or unexported fields }
func (*KeysetPublicRequest) Descriptor
deprecated
func (*KeysetPublicRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetPublicRequest.ProtoReflect.Descriptor instead.
func (*KeysetPublicRequest) GetPrivateKeyset ¶
func (x *KeysetPublicRequest) GetPrivateKeyset() []byte
func (*KeysetPublicRequest) ProtoMessage ¶
func (*KeysetPublicRequest) ProtoMessage()
func (*KeysetPublicRequest) ProtoReflect ¶
func (x *KeysetPublicRequest) ProtoReflect() protoreflect.Message
func (*KeysetPublicRequest) Reset ¶
func (x *KeysetPublicRequest) Reset()
func (*KeysetPublicRequest) String ¶
func (x *KeysetPublicRequest) String() string
type KeysetPublicResponse ¶
type KeysetPublicResponse struct { // Types that are assignable to Result: // // *KeysetPublicResponse_PublicKeyset // *KeysetPublicResponse_Err Result isKeysetPublicResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetPublicResponse) Descriptor
deprecated
func (*KeysetPublicResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetPublicResponse.ProtoReflect.Descriptor instead.
func (*KeysetPublicResponse) GetErr ¶
func (x *KeysetPublicResponse) GetErr() string
func (*KeysetPublicResponse) GetPublicKeyset ¶
func (x *KeysetPublicResponse) GetPublicKeyset() []byte
func (*KeysetPublicResponse) GetResult ¶
func (m *KeysetPublicResponse) GetResult() isKeysetPublicResponse_Result
func (*KeysetPublicResponse) ProtoMessage ¶
func (*KeysetPublicResponse) ProtoMessage()
func (*KeysetPublicResponse) ProtoReflect ¶
func (x *KeysetPublicResponse) ProtoReflect() protoreflect.Message
func (*KeysetPublicResponse) Reset ¶
func (x *KeysetPublicResponse) Reset()
func (*KeysetPublicResponse) String ¶
func (x *KeysetPublicResponse) String() string
type KeysetPublicResponse_Err ¶
type KeysetPublicResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetPublicResponse_PublicKeyset ¶
type KeysetPublicResponse_PublicKeyset struct {
PublicKeyset []byte `protobuf:"bytes,1,opt,name=public_keyset,json=publicKeyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type KeysetReadEncryptedRequest ¶
type KeysetReadEncryptedRequest struct { EncryptedKeyset []byte `protobuf:"bytes,1,opt,name=encrypted_keyset,json=encryptedKeyset,proto3" json:"encrypted_keyset,omitempty"` MasterKeyset []byte `protobuf:"bytes,2,opt,name=master_keyset,json=masterKeyset,proto3" json:"master_keyset,omitempty"` // serialized google.crypto.tink.Keyset. AssociatedData *BytesValue `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` KeysetReaderType KeysetReaderType `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KeysetReadEncryptedRequest) Descriptor
deprecated
func (*KeysetReadEncryptedRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetReadEncryptedRequest.ProtoReflect.Descriptor instead.
func (*KeysetReadEncryptedRequest) GetAssociatedData ¶
func (x *KeysetReadEncryptedRequest) GetAssociatedData() *BytesValue
func (*KeysetReadEncryptedRequest) GetEncryptedKeyset ¶
func (x *KeysetReadEncryptedRequest) GetEncryptedKeyset() []byte
func (*KeysetReadEncryptedRequest) GetKeysetReaderType ¶
func (x *KeysetReadEncryptedRequest) GetKeysetReaderType() KeysetReaderType
func (*KeysetReadEncryptedRequest) GetMasterKeyset ¶
func (x *KeysetReadEncryptedRequest) GetMasterKeyset() []byte
func (*KeysetReadEncryptedRequest) ProtoMessage ¶
func (*KeysetReadEncryptedRequest) ProtoMessage()
func (*KeysetReadEncryptedRequest) ProtoReflect ¶
func (x *KeysetReadEncryptedRequest) ProtoReflect() protoreflect.Message
func (*KeysetReadEncryptedRequest) Reset ¶
func (x *KeysetReadEncryptedRequest) Reset()
func (*KeysetReadEncryptedRequest) String ¶
func (x *KeysetReadEncryptedRequest) String() string
type KeysetReadEncryptedResponse ¶
type KeysetReadEncryptedResponse struct { // Types that are assignable to Result: // // *KeysetReadEncryptedResponse_Keyset // *KeysetReadEncryptedResponse_Err Result isKeysetReadEncryptedResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetReadEncryptedResponse) Descriptor
deprecated
func (*KeysetReadEncryptedResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetReadEncryptedResponse.ProtoReflect.Descriptor instead.
func (*KeysetReadEncryptedResponse) GetErr ¶
func (x *KeysetReadEncryptedResponse) GetErr() string
func (*KeysetReadEncryptedResponse) GetKeyset ¶
func (x *KeysetReadEncryptedResponse) GetKeyset() []byte
func (*KeysetReadEncryptedResponse) GetResult ¶
func (m *KeysetReadEncryptedResponse) GetResult() isKeysetReadEncryptedResponse_Result
func (*KeysetReadEncryptedResponse) ProtoMessage ¶
func (*KeysetReadEncryptedResponse) ProtoMessage()
func (*KeysetReadEncryptedResponse) ProtoReflect ¶
func (x *KeysetReadEncryptedResponse) ProtoReflect() protoreflect.Message
func (*KeysetReadEncryptedResponse) Reset ¶
func (x *KeysetReadEncryptedResponse) Reset()
func (*KeysetReadEncryptedResponse) String ¶
func (x *KeysetReadEncryptedResponse) String() string
type KeysetReadEncryptedResponse_Err ¶
type KeysetReadEncryptedResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetReadEncryptedResponse_Keyset ¶
type KeysetReadEncryptedResponse_Keyset struct {
Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3,oneof"` // serialized google.crypto.tink.Keyset.
}
type KeysetReaderType ¶
type KeysetReaderType int32
const ( KeysetReaderType_KEYSET_READER_UNKNOWN KeysetReaderType = 0 KeysetReaderType_KEYSET_READER_BINARY KeysetReaderType = 1 KeysetReaderType_KEYSET_READER_JSON KeysetReaderType = 2 )
func (KeysetReaderType) Descriptor ¶
func (KeysetReaderType) Descriptor() protoreflect.EnumDescriptor
func (KeysetReaderType) Enum ¶
func (x KeysetReaderType) Enum() *KeysetReaderType
func (KeysetReaderType) EnumDescriptor
deprecated
func (KeysetReaderType) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeysetReaderType.Descriptor instead.
func (KeysetReaderType) Number ¶
func (x KeysetReaderType) Number() protoreflect.EnumNumber
func (KeysetReaderType) String ¶
func (x KeysetReaderType) String() string
func (KeysetReaderType) Type ¶
func (KeysetReaderType) Type() protoreflect.EnumType
type KeysetServer ¶
type KeysetServer interface { // Generates a key template from a key template name. GetTemplate(context.Context, *KeysetTemplateRequest) (*KeysetTemplateResponse, error) // Generates a new keyset from a template. Generate(context.Context, *KeysetGenerateRequest) (*KeysetGenerateResponse, error) // Generates a public-key keyset from a private-key keyset. Public(context.Context, *KeysetPublicRequest) (*KeysetPublicResponse, error) // Converts a Keyset from Binary to Json Format ToJson(context.Context, *KeysetToJsonRequest) (*KeysetToJsonResponse, error) // Converts a Keyset from Json to Binary Format FromJson(context.Context, *KeysetFromJsonRequest) (*KeysetFromJsonResponse, error) // Reads an encrypted keyset using KeysetHandle.read() or // KeysetHandle.readWithAssociatedData() and the BinaryKeysetReader. ReadEncrypted(context.Context, *KeysetReadEncryptedRequest) (*KeysetReadEncryptedResponse, error) // Writes an encrypted keyset using KeysetHandle.write() or // KeysetHandle.writeWithAssociatedData() and the BinaryKeysetWriter. WriteEncrypted(context.Context, *KeysetWriteEncryptedRequest) (*KeysetWriteEncryptedResponse, error) // contains filtered or unexported methods }
KeysetServer is the server API for Keyset service. All implementations must embed UnimplementedKeysetServer for forward compatibility
type KeysetTemplateRequest ¶
type KeysetTemplateRequest struct { TemplateName string `protobuf:"bytes,1,opt,name=template_name,json=templateName,proto3" json:"template_name,omitempty"` // template name used by Tinkey // contains filtered or unexported fields }
func (*KeysetTemplateRequest) Descriptor
deprecated
func (*KeysetTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetTemplateRequest.ProtoReflect.Descriptor instead.
func (*KeysetTemplateRequest) GetTemplateName ¶
func (x *KeysetTemplateRequest) GetTemplateName() string
func (*KeysetTemplateRequest) ProtoMessage ¶
func (*KeysetTemplateRequest) ProtoMessage()
func (*KeysetTemplateRequest) ProtoReflect ¶
func (x *KeysetTemplateRequest) ProtoReflect() protoreflect.Message
func (*KeysetTemplateRequest) Reset ¶
func (x *KeysetTemplateRequest) Reset()
func (*KeysetTemplateRequest) String ¶
func (x *KeysetTemplateRequest) String() string
type KeysetTemplateResponse ¶
type KeysetTemplateResponse struct { // Types that are assignable to Result: // // *KeysetTemplateResponse_KeyTemplate // *KeysetTemplateResponse_Err Result isKeysetTemplateResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetTemplateResponse) Descriptor
deprecated
func (*KeysetTemplateResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetTemplateResponse.ProtoReflect.Descriptor instead.
func (*KeysetTemplateResponse) GetErr ¶
func (x *KeysetTemplateResponse) GetErr() string
func (*KeysetTemplateResponse) GetKeyTemplate ¶
func (x *KeysetTemplateResponse) GetKeyTemplate() []byte
func (*KeysetTemplateResponse) GetResult ¶
func (m *KeysetTemplateResponse) GetResult() isKeysetTemplateResponse_Result
func (*KeysetTemplateResponse) ProtoMessage ¶
func (*KeysetTemplateResponse) ProtoMessage()
func (*KeysetTemplateResponse) ProtoReflect ¶
func (x *KeysetTemplateResponse) ProtoReflect() protoreflect.Message
func (*KeysetTemplateResponse) Reset ¶
func (x *KeysetTemplateResponse) Reset()
func (*KeysetTemplateResponse) String ¶
func (x *KeysetTemplateResponse) String() string
type KeysetTemplateResponse_Err ¶
type KeysetTemplateResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetTemplateResponse_KeyTemplate ¶
type KeysetTemplateResponse_KeyTemplate struct {
KeyTemplate []byte `protobuf:"bytes,1,opt,name=key_template,json=keyTemplate,proto3,oneof"` // serialized google.crypto.tink.KeyTemplate.
}
type KeysetToJsonRequest ¶
type KeysetToJsonRequest struct { Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3" json:"keyset,omitempty"` // serialized google.crypto.tink.Keyset. // contains filtered or unexported fields }
func (*KeysetToJsonRequest) Descriptor
deprecated
func (*KeysetToJsonRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetToJsonRequest.ProtoReflect.Descriptor instead.
func (*KeysetToJsonRequest) GetKeyset ¶
func (x *KeysetToJsonRequest) GetKeyset() []byte
func (*KeysetToJsonRequest) ProtoMessage ¶
func (*KeysetToJsonRequest) ProtoMessage()
func (*KeysetToJsonRequest) ProtoReflect ¶
func (x *KeysetToJsonRequest) ProtoReflect() protoreflect.Message
func (*KeysetToJsonRequest) Reset ¶
func (x *KeysetToJsonRequest) Reset()
func (*KeysetToJsonRequest) String ¶
func (x *KeysetToJsonRequest) String() string
type KeysetToJsonResponse ¶
type KeysetToJsonResponse struct { // Types that are assignable to Result: // // *KeysetToJsonResponse_JsonKeyset // *KeysetToJsonResponse_Err Result isKeysetToJsonResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetToJsonResponse) Descriptor
deprecated
func (*KeysetToJsonResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetToJsonResponse.ProtoReflect.Descriptor instead.
func (*KeysetToJsonResponse) GetErr ¶
func (x *KeysetToJsonResponse) GetErr() string
func (*KeysetToJsonResponse) GetJsonKeyset ¶
func (x *KeysetToJsonResponse) GetJsonKeyset() string
func (*KeysetToJsonResponse) GetResult ¶
func (m *KeysetToJsonResponse) GetResult() isKeysetToJsonResponse_Result
func (*KeysetToJsonResponse) ProtoMessage ¶
func (*KeysetToJsonResponse) ProtoMessage()
func (*KeysetToJsonResponse) ProtoReflect ¶
func (x *KeysetToJsonResponse) ProtoReflect() protoreflect.Message
func (*KeysetToJsonResponse) Reset ¶
func (x *KeysetToJsonResponse) Reset()
func (*KeysetToJsonResponse) String ¶
func (x *KeysetToJsonResponse) String() string
type KeysetToJsonResponse_Err ¶
type KeysetToJsonResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetToJsonResponse_JsonKeyset ¶
type KeysetToJsonResponse_JsonKeyset struct {
JsonKeyset string `protobuf:"bytes,1,opt,name=json_keyset,json=jsonKeyset,proto3,oneof"`
}
type KeysetWriteEncryptedRequest ¶
type KeysetWriteEncryptedRequest struct { Keyset []byte `protobuf:"bytes,1,opt,name=keyset,proto3" json:"keyset,omitempty"` // serialized google.crypto.tink.Keyset. MasterKeyset []byte `protobuf:"bytes,2,opt,name=master_keyset,json=masterKeyset,proto3" json:"master_keyset,omitempty"` // serialized google.crypto.tink.Keyset. AssociatedData *BytesValue `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` KeysetWriterType KeysetWriterType `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
func (*KeysetWriteEncryptedRequest) Descriptor
deprecated
func (*KeysetWriteEncryptedRequest) Descriptor() ([]byte, []int)
Deprecated: Use KeysetWriteEncryptedRequest.ProtoReflect.Descriptor instead.
func (*KeysetWriteEncryptedRequest) GetAssociatedData ¶
func (x *KeysetWriteEncryptedRequest) GetAssociatedData() *BytesValue
func (*KeysetWriteEncryptedRequest) GetKeyset ¶
func (x *KeysetWriteEncryptedRequest) GetKeyset() []byte
func (*KeysetWriteEncryptedRequest) GetKeysetWriterType ¶
func (x *KeysetWriteEncryptedRequest) GetKeysetWriterType() KeysetWriterType
func (*KeysetWriteEncryptedRequest) GetMasterKeyset ¶
func (x *KeysetWriteEncryptedRequest) GetMasterKeyset() []byte
func (*KeysetWriteEncryptedRequest) ProtoMessage ¶
func (*KeysetWriteEncryptedRequest) ProtoMessage()
func (*KeysetWriteEncryptedRequest) ProtoReflect ¶
func (x *KeysetWriteEncryptedRequest) ProtoReflect() protoreflect.Message
func (*KeysetWriteEncryptedRequest) Reset ¶
func (x *KeysetWriteEncryptedRequest) Reset()
func (*KeysetWriteEncryptedRequest) String ¶
func (x *KeysetWriteEncryptedRequest) String() string
type KeysetWriteEncryptedResponse ¶
type KeysetWriteEncryptedResponse struct { // Types that are assignable to Result: // // *KeysetWriteEncryptedResponse_EncryptedKeyset // *KeysetWriteEncryptedResponse_Err Result isKeysetWriteEncryptedResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*KeysetWriteEncryptedResponse) Descriptor
deprecated
func (*KeysetWriteEncryptedResponse) Descriptor() ([]byte, []int)
Deprecated: Use KeysetWriteEncryptedResponse.ProtoReflect.Descriptor instead.
func (*KeysetWriteEncryptedResponse) GetEncryptedKeyset ¶
func (x *KeysetWriteEncryptedResponse) GetEncryptedKeyset() []byte
func (*KeysetWriteEncryptedResponse) GetErr ¶
func (x *KeysetWriteEncryptedResponse) GetErr() string
func (*KeysetWriteEncryptedResponse) GetResult ¶
func (m *KeysetWriteEncryptedResponse) GetResult() isKeysetWriteEncryptedResponse_Result
func (*KeysetWriteEncryptedResponse) ProtoMessage ¶
func (*KeysetWriteEncryptedResponse) ProtoMessage()
func (*KeysetWriteEncryptedResponse) ProtoReflect ¶
func (x *KeysetWriteEncryptedResponse) ProtoReflect() protoreflect.Message
func (*KeysetWriteEncryptedResponse) Reset ¶
func (x *KeysetWriteEncryptedResponse) Reset()
func (*KeysetWriteEncryptedResponse) String ¶
func (x *KeysetWriteEncryptedResponse) String() string
type KeysetWriteEncryptedResponse_EncryptedKeyset ¶
type KeysetWriteEncryptedResponse_EncryptedKeyset struct {
EncryptedKeyset []byte `protobuf:"bytes,1,opt,name=encrypted_keyset,json=encryptedKeyset,proto3,oneof"`
}
type KeysetWriteEncryptedResponse_Err ¶
type KeysetWriteEncryptedResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type KeysetWriterType ¶
type KeysetWriterType int32
const ( KeysetWriterType_KEYSET_WRITER_UNKNOWN KeysetWriterType = 0 KeysetWriterType_KEYSET_WRITER_BINARY KeysetWriterType = 1 KeysetWriterType_KEYSET_WRITER_JSON KeysetWriterType = 2 )
func (KeysetWriterType) Descriptor ¶
func (KeysetWriterType) Descriptor() protoreflect.EnumDescriptor
func (KeysetWriterType) Enum ¶
func (x KeysetWriterType) Enum() *KeysetWriterType
func (KeysetWriterType) EnumDescriptor
deprecated
func (KeysetWriterType) EnumDescriptor() ([]byte, []int)
Deprecated: Use KeysetWriterType.Descriptor instead.
func (KeysetWriterType) Number ¶
func (x KeysetWriterType) Number() protoreflect.EnumNumber
func (KeysetWriterType) String ¶
func (x KeysetWriterType) String() string
func (KeysetWriterType) Type ¶
func (KeysetWriterType) Type() protoreflect.EnumType
type MacClient ¶
type MacClient interface { // Creates a Mac object without using it. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Computes a MAC for given data. The client must call "Create" first to see // if creation succeeds before calling this. ComputeMac(ctx context.Context, in *ComputeMacRequest, opts ...grpc.CallOption) (*ComputeMacResponse, error) // Verifies the validity of the MAC value, no error means success. The client // must call "Create" first to see if creation succeeds before calling this. VerifyMac(ctx context.Context, in *VerifyMacRequest, opts ...grpc.CallOption) (*VerifyMacResponse, error) }
MacClient is the client API for Mac 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.
func NewMacClient ¶
func NewMacClient(cc grpc.ClientConnInterface) MacClient
type MacServer ¶
type MacServer interface { // Creates a Mac object without using it. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Computes a MAC for given data. The client must call "Create" first to see // if creation succeeds before calling this. ComputeMac(context.Context, *ComputeMacRequest) (*ComputeMacResponse, error) // Verifies the validity of the MAC value, no error means success. The client // must call "Create" first to see if creation succeeds before calling this. VerifyMac(context.Context, *VerifyMacRequest) (*VerifyMacResponse, error) // contains filtered or unexported methods }
MacServer is the server API for Mac service. All implementations must embed UnimplementedMacServer for forward compatibility
type MetadataClient ¶
type MetadataClient interface { // Returns some server information. A test may use this information to verify // that it is talking to the right server. GetServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error) }
MetadataClient is the client API for Metadata 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.
func NewMetadataClient ¶
func NewMetadataClient(cc grpc.ClientConnInterface) MetadataClient
type MetadataServer ¶
type MetadataServer interface { // Returns some server information. A test may use this information to verify // that it is talking to the right server. GetServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error) // contains filtered or unexported methods }
MetadataServer is the server API for Metadata service. All implementations must embed UnimplementedMetadataServer for forward compatibility
type NullValue ¶
type NullValue int32
Used to represent the JSON null value.
const (
NullValue_NULL_VALUE NullValue = 0
)
func (NullValue) Descriptor ¶
func (NullValue) Descriptor() protoreflect.EnumDescriptor
func (NullValue) EnumDescriptor
deprecated
func (NullValue) Number ¶
func (x NullValue) Number() protoreflect.EnumNumber
func (NullValue) Type ¶
func (NullValue) Type() protoreflect.EnumType
type PrfSetClient ¶
type PrfSetClient interface { // Creates a PrfSet object without using it. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Returns the key ids and the primary key id in the keyset.The client must // call "Create" first to see if creation succeeds before calling this. KeyIds(ctx context.Context, in *PrfSetKeyIdsRequest, opts ...grpc.CallOption) (*PrfSetKeyIdsResponse, error) // Computes the output of the PRF with the given key_id in the PrfSet.The // client must call "Create" first to see if creation succeeds before calling // this. Compute(ctx context.Context, in *PrfSetComputeRequest, opts ...grpc.CallOption) (*PrfSetComputeResponse, error) }
PrfSetClient is the client API for PrfSet 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.
func NewPrfSetClient ¶
func NewPrfSetClient(cc grpc.ClientConnInterface) PrfSetClient
type PrfSetComputeRequest ¶
type PrfSetComputeRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` KeyId uint32 `protobuf:"varint,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` InputData []byte `protobuf:"bytes,3,opt,name=input_data,json=inputData,proto3" json:"input_data,omitempty"` OutputLength int32 `protobuf:"varint,4,opt,name=output_length,json=outputLength,proto3" json:"output_length,omitempty"` // contains filtered or unexported fields }
func (*PrfSetComputeRequest) Descriptor
deprecated
func (*PrfSetComputeRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrfSetComputeRequest.ProtoReflect.Descriptor instead.
func (*PrfSetComputeRequest) GetAnnotatedKeyset ¶
func (x *PrfSetComputeRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*PrfSetComputeRequest) GetInputData ¶
func (x *PrfSetComputeRequest) GetInputData() []byte
func (*PrfSetComputeRequest) GetKeyId ¶
func (x *PrfSetComputeRequest) GetKeyId() uint32
func (*PrfSetComputeRequest) GetOutputLength ¶
func (x *PrfSetComputeRequest) GetOutputLength() int32
func (*PrfSetComputeRequest) ProtoMessage ¶
func (*PrfSetComputeRequest) ProtoMessage()
func (*PrfSetComputeRequest) ProtoReflect ¶
func (x *PrfSetComputeRequest) ProtoReflect() protoreflect.Message
func (*PrfSetComputeRequest) Reset ¶
func (x *PrfSetComputeRequest) Reset()
func (*PrfSetComputeRequest) String ¶
func (x *PrfSetComputeRequest) String() string
type PrfSetComputeResponse ¶
type PrfSetComputeResponse struct { // Types that are assignable to Result: // // *PrfSetComputeResponse_Output // *PrfSetComputeResponse_Err Result isPrfSetComputeResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*PrfSetComputeResponse) Descriptor
deprecated
func (*PrfSetComputeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrfSetComputeResponse.ProtoReflect.Descriptor instead.
func (*PrfSetComputeResponse) GetErr ¶
func (x *PrfSetComputeResponse) GetErr() string
func (*PrfSetComputeResponse) GetOutput ¶
func (x *PrfSetComputeResponse) GetOutput() []byte
func (*PrfSetComputeResponse) GetResult ¶
func (m *PrfSetComputeResponse) GetResult() isPrfSetComputeResponse_Result
func (*PrfSetComputeResponse) ProtoMessage ¶
func (*PrfSetComputeResponse) ProtoMessage()
func (*PrfSetComputeResponse) ProtoReflect ¶
func (x *PrfSetComputeResponse) ProtoReflect() protoreflect.Message
func (*PrfSetComputeResponse) Reset ¶
func (x *PrfSetComputeResponse) Reset()
func (*PrfSetComputeResponse) String ¶
func (x *PrfSetComputeResponse) String() string
type PrfSetComputeResponse_Err ¶
type PrfSetComputeResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type PrfSetComputeResponse_Output ¶
type PrfSetComputeResponse_Output struct {
Output []byte `protobuf:"bytes,1,opt,name=output,proto3,oneof"`
}
type PrfSetKeyIdsRequest ¶
type PrfSetKeyIdsRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` // contains filtered or unexported fields }
func (*PrfSetKeyIdsRequest) Descriptor
deprecated
func (*PrfSetKeyIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrfSetKeyIdsRequest.ProtoReflect.Descriptor instead.
func (*PrfSetKeyIdsRequest) GetAnnotatedKeyset ¶
func (x *PrfSetKeyIdsRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*PrfSetKeyIdsRequest) ProtoMessage ¶
func (*PrfSetKeyIdsRequest) ProtoMessage()
func (*PrfSetKeyIdsRequest) ProtoReflect ¶
func (x *PrfSetKeyIdsRequest) ProtoReflect() protoreflect.Message
func (*PrfSetKeyIdsRequest) Reset ¶
func (x *PrfSetKeyIdsRequest) Reset()
func (*PrfSetKeyIdsRequest) String ¶
func (x *PrfSetKeyIdsRequest) String() string
type PrfSetKeyIdsResponse ¶
type PrfSetKeyIdsResponse struct { // Types that are assignable to Result: // // *PrfSetKeyIdsResponse_Output_ // *PrfSetKeyIdsResponse_Err Result isPrfSetKeyIdsResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*PrfSetKeyIdsResponse) Descriptor
deprecated
func (*PrfSetKeyIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrfSetKeyIdsResponse.ProtoReflect.Descriptor instead.
func (*PrfSetKeyIdsResponse) GetErr ¶
func (x *PrfSetKeyIdsResponse) GetErr() string
func (*PrfSetKeyIdsResponse) GetOutput ¶
func (x *PrfSetKeyIdsResponse) GetOutput() *PrfSetKeyIdsResponse_Output
func (*PrfSetKeyIdsResponse) GetResult ¶
func (m *PrfSetKeyIdsResponse) GetResult() isPrfSetKeyIdsResponse_Result
func (*PrfSetKeyIdsResponse) ProtoMessage ¶
func (*PrfSetKeyIdsResponse) ProtoMessage()
func (*PrfSetKeyIdsResponse) ProtoReflect ¶
func (x *PrfSetKeyIdsResponse) ProtoReflect() protoreflect.Message
func (*PrfSetKeyIdsResponse) Reset ¶
func (x *PrfSetKeyIdsResponse) Reset()
func (*PrfSetKeyIdsResponse) String ¶
func (x *PrfSetKeyIdsResponse) String() string
type PrfSetKeyIdsResponse_Err ¶
type PrfSetKeyIdsResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type PrfSetKeyIdsResponse_Output ¶
type PrfSetKeyIdsResponse_Output struct { PrimaryKeyId uint32 `protobuf:"varint,1,opt,name=primary_key_id,json=primaryKeyId,proto3" json:"primary_key_id,omitempty"` KeyId []uint32 `protobuf:"varint,2,rep,packed,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*PrfSetKeyIdsResponse_Output) Descriptor
deprecated
func (*PrfSetKeyIdsResponse_Output) Descriptor() ([]byte, []int)
Deprecated: Use PrfSetKeyIdsResponse_Output.ProtoReflect.Descriptor instead.
func (*PrfSetKeyIdsResponse_Output) GetKeyId ¶
func (x *PrfSetKeyIdsResponse_Output) GetKeyId() []uint32
func (*PrfSetKeyIdsResponse_Output) GetPrimaryKeyId ¶
func (x *PrfSetKeyIdsResponse_Output) GetPrimaryKeyId() uint32
func (*PrfSetKeyIdsResponse_Output) ProtoMessage ¶
func (*PrfSetKeyIdsResponse_Output) ProtoMessage()
func (*PrfSetKeyIdsResponse_Output) ProtoReflect ¶
func (x *PrfSetKeyIdsResponse_Output) ProtoReflect() protoreflect.Message
func (*PrfSetKeyIdsResponse_Output) Reset ¶
func (x *PrfSetKeyIdsResponse_Output) Reset()
func (*PrfSetKeyIdsResponse_Output) String ¶
func (x *PrfSetKeyIdsResponse_Output) String() string
type PrfSetKeyIdsResponse_Output_ ¶
type PrfSetKeyIdsResponse_Output_ struct {
Output *PrfSetKeyIdsResponse_Output `protobuf:"bytes,1,opt,name=output,proto3,oneof"`
}
type PrfSetServer ¶
type PrfSetServer interface { // Creates a PrfSet object without using it. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Returns the key ids and the primary key id in the keyset.The client must // call "Create" first to see if creation succeeds before calling this. KeyIds(context.Context, *PrfSetKeyIdsRequest) (*PrfSetKeyIdsResponse, error) // Computes the output of the PRF with the given key_id in the PrfSet.The // client must call "Create" first to see if creation succeeds before calling // this. Compute(context.Context, *PrfSetComputeRequest) (*PrfSetComputeResponse, error) // contains filtered or unexported methods }
PrfSetServer is the server API for PrfSet service. All implementations must embed UnimplementedPrfSetServer for forward compatibility
type ServerInfoRequest ¶
type ServerInfoRequest struct {
// contains filtered or unexported fields
}
func (*ServerInfoRequest) Descriptor
deprecated
func (*ServerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead.
func (*ServerInfoRequest) ProtoMessage ¶
func (*ServerInfoRequest) ProtoMessage()
func (*ServerInfoRequest) ProtoReflect ¶
func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message
func (*ServerInfoRequest) Reset ¶
func (x *ServerInfoRequest) Reset()
func (*ServerInfoRequest) String ¶
func (x *ServerInfoRequest) String() string
type ServerInfoResponse ¶
type ServerInfoResponse struct { TinkVersion string `protobuf:"bytes,1,opt,name=tink_version,json=tinkVersion,proto3" json:"tink_version,omitempty"` // For example '1.4' Language string `protobuf:"bytes,2,opt,name=language,proto3" json:"language,omitempty"` // For example 'cc', 'java', 'go' or 'python'. // contains filtered or unexported fields }
func (*ServerInfoResponse) Descriptor
deprecated
func (*ServerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead.
func (*ServerInfoResponse) GetLanguage ¶
func (x *ServerInfoResponse) GetLanguage() string
func (*ServerInfoResponse) GetTinkVersion ¶
func (x *ServerInfoResponse) GetTinkVersion() string
func (*ServerInfoResponse) ProtoMessage ¶
func (*ServerInfoResponse) ProtoMessage()
func (*ServerInfoResponse) ProtoReflect ¶
func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
func (*ServerInfoResponse) Reset ¶
func (x *ServerInfoResponse) Reset()
func (*ServerInfoResponse) String ¶
func (x *ServerInfoResponse) String() string
type SignatureClient ¶
type SignatureClient interface { // Creates a PublicKeySign object without using it. CreatePublicKeySign(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Creates a PublicKeyVerify object without using it. CreatePublicKeyVerify(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Computes the signature for data. The client must call "CreatePublicKeySign" // first to see if creation succeeds before calling this. Sign(ctx context.Context, in *SignatureSignRequest, opts ...grpc.CallOption) (*SignatureSignResponse, error) // Verifies that signature is a digital signature for data. The client must // call "CreatePublicKeyVerify" first to see if creation succeeds before // calling this. Verify(ctx context.Context, in *SignatureVerifyRequest, opts ...grpc.CallOption) (*SignatureVerifyResponse, error) }
SignatureClient is the client API for Signature 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.
func NewSignatureClient ¶
func NewSignatureClient(cc grpc.ClientConnInterface) SignatureClient
type SignatureServer ¶
type SignatureServer interface { // Creates a PublicKeySign object without using it. CreatePublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error) // Creates a PublicKeyVerify object without using it. CreatePublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error) // Computes the signature for data. The client must call "CreatePublicKeySign" // first to see if creation succeeds before calling this. Sign(context.Context, *SignatureSignRequest) (*SignatureSignResponse, error) // Verifies that signature is a digital signature for data. The client must // call "CreatePublicKeyVerify" first to see if creation succeeds before // calling this. Verify(context.Context, *SignatureVerifyRequest) (*SignatureVerifyResponse, error) // contains filtered or unexported methods }
SignatureServer is the server API for Signature service. All implementations must embed UnimplementedSignatureServer for forward compatibility
type SignatureSignRequest ¶
type SignatureSignRequest struct { PrivateAnnotatedKeyset *AnnotatedKeyset `` /* 129-byte string literal not displayed */ Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignatureSignRequest) Descriptor
deprecated
func (*SignatureSignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignatureSignRequest.ProtoReflect.Descriptor instead.
func (*SignatureSignRequest) GetData ¶
func (x *SignatureSignRequest) GetData() []byte
func (*SignatureSignRequest) GetPrivateAnnotatedKeyset ¶
func (x *SignatureSignRequest) GetPrivateAnnotatedKeyset() *AnnotatedKeyset
func (*SignatureSignRequest) ProtoMessage ¶
func (*SignatureSignRequest) ProtoMessage()
func (*SignatureSignRequest) ProtoReflect ¶
func (x *SignatureSignRequest) ProtoReflect() protoreflect.Message
func (*SignatureSignRequest) Reset ¶
func (x *SignatureSignRequest) Reset()
func (*SignatureSignRequest) String ¶
func (x *SignatureSignRequest) String() string
type SignatureSignResponse ¶
type SignatureSignResponse struct { // Types that are assignable to Result: // // *SignatureSignResponse_Signature // *SignatureSignResponse_Err Result isSignatureSignResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*SignatureSignResponse) Descriptor
deprecated
func (*SignatureSignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignatureSignResponse.ProtoReflect.Descriptor instead.
func (*SignatureSignResponse) GetErr ¶
func (x *SignatureSignResponse) GetErr() string
func (*SignatureSignResponse) GetResult ¶
func (m *SignatureSignResponse) GetResult() isSignatureSignResponse_Result
func (*SignatureSignResponse) GetSignature ¶
func (x *SignatureSignResponse) GetSignature() []byte
func (*SignatureSignResponse) ProtoMessage ¶
func (*SignatureSignResponse) ProtoMessage()
func (*SignatureSignResponse) ProtoReflect ¶
func (x *SignatureSignResponse) ProtoReflect() protoreflect.Message
func (*SignatureSignResponse) Reset ¶
func (x *SignatureSignResponse) Reset()
func (*SignatureSignResponse) String ¶
func (x *SignatureSignResponse) String() string
type SignatureSignResponse_Err ¶
type SignatureSignResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type SignatureSignResponse_Signature ¶
type SignatureSignResponse_Signature struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3,oneof"`
}
type SignatureVerifyRequest ¶
type SignatureVerifyRequest struct { PublicAnnotatedKeyset *AnnotatedKeyset `` /* 126-byte string literal not displayed */ Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*SignatureVerifyRequest) Descriptor
deprecated
func (*SignatureVerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignatureVerifyRequest.ProtoReflect.Descriptor instead.
func (*SignatureVerifyRequest) GetData ¶
func (x *SignatureVerifyRequest) GetData() []byte
func (*SignatureVerifyRequest) GetPublicAnnotatedKeyset ¶
func (x *SignatureVerifyRequest) GetPublicAnnotatedKeyset() *AnnotatedKeyset
func (*SignatureVerifyRequest) GetSignature ¶
func (x *SignatureVerifyRequest) GetSignature() []byte
func (*SignatureVerifyRequest) ProtoMessage ¶
func (*SignatureVerifyRequest) ProtoMessage()
func (*SignatureVerifyRequest) ProtoReflect ¶
func (x *SignatureVerifyRequest) ProtoReflect() protoreflect.Message
func (*SignatureVerifyRequest) Reset ¶
func (x *SignatureVerifyRequest) Reset()
func (*SignatureVerifyRequest) String ¶
func (x *SignatureVerifyRequest) String() string
type SignatureVerifyResponse ¶
type SignatureVerifyResponse struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*SignatureVerifyResponse) Descriptor
deprecated
func (*SignatureVerifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignatureVerifyResponse.ProtoReflect.Descriptor instead.
func (*SignatureVerifyResponse) GetErr ¶
func (x *SignatureVerifyResponse) GetErr() string
func (*SignatureVerifyResponse) ProtoMessage ¶
func (*SignatureVerifyResponse) ProtoMessage()
func (*SignatureVerifyResponse) ProtoReflect ¶
func (x *SignatureVerifyResponse) ProtoReflect() protoreflect.Message
func (*SignatureVerifyResponse) Reset ¶
func (x *SignatureVerifyResponse) Reset()
func (*SignatureVerifyResponse) String ¶
func (x *SignatureVerifyResponse) String() string
type StreamingAeadClient ¶
type StreamingAeadClient interface { // Creates a StreamingAead object without using it. Create(ctx context.Context, in *CreationRequest, opts ...grpc.CallOption) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Encrypt(ctx context.Context, in *StreamingAeadEncryptRequest, opts ...grpc.CallOption) (*StreamingAeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Decrypt(ctx context.Context, in *StreamingAeadDecryptRequest, opts ...grpc.CallOption) (*StreamingAeadDecryptResponse, error) }
StreamingAeadClient is the client API for StreamingAead 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.
func NewStreamingAeadClient ¶
func NewStreamingAeadClient(cc grpc.ClientConnInterface) StreamingAeadClient
type StreamingAeadDecryptRequest ¶
type StreamingAeadDecryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*StreamingAeadDecryptRequest) Descriptor
deprecated
func (*StreamingAeadDecryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAeadDecryptRequest.ProtoReflect.Descriptor instead.
func (*StreamingAeadDecryptRequest) GetAnnotatedKeyset ¶
func (x *StreamingAeadDecryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*StreamingAeadDecryptRequest) GetAssociatedData ¶
func (x *StreamingAeadDecryptRequest) GetAssociatedData() []byte
func (*StreamingAeadDecryptRequest) GetCiphertext ¶
func (x *StreamingAeadDecryptRequest) GetCiphertext() []byte
func (*StreamingAeadDecryptRequest) ProtoMessage ¶
func (*StreamingAeadDecryptRequest) ProtoMessage()
func (*StreamingAeadDecryptRequest) ProtoReflect ¶
func (x *StreamingAeadDecryptRequest) ProtoReflect() protoreflect.Message
func (*StreamingAeadDecryptRequest) Reset ¶
func (x *StreamingAeadDecryptRequest) Reset()
func (*StreamingAeadDecryptRequest) String ¶
func (x *StreamingAeadDecryptRequest) String() string
type StreamingAeadDecryptResponse ¶
type StreamingAeadDecryptResponse struct { // Types that are assignable to Result: // // *StreamingAeadDecryptResponse_Plaintext // *StreamingAeadDecryptResponse_Err Result isStreamingAeadDecryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*StreamingAeadDecryptResponse) Descriptor
deprecated
func (*StreamingAeadDecryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAeadDecryptResponse.ProtoReflect.Descriptor instead.
func (*StreamingAeadDecryptResponse) GetErr ¶
func (x *StreamingAeadDecryptResponse) GetErr() string
func (*StreamingAeadDecryptResponse) GetPlaintext ¶
func (x *StreamingAeadDecryptResponse) GetPlaintext() []byte
func (*StreamingAeadDecryptResponse) GetResult ¶
func (m *StreamingAeadDecryptResponse) GetResult() isStreamingAeadDecryptResponse_Result
func (*StreamingAeadDecryptResponse) ProtoMessage ¶
func (*StreamingAeadDecryptResponse) ProtoMessage()
func (*StreamingAeadDecryptResponse) ProtoReflect ¶
func (x *StreamingAeadDecryptResponse) ProtoReflect() protoreflect.Message
func (*StreamingAeadDecryptResponse) Reset ¶
func (x *StreamingAeadDecryptResponse) Reset()
func (*StreamingAeadDecryptResponse) String ¶
func (x *StreamingAeadDecryptResponse) String() string
type StreamingAeadDecryptResponse_Err ¶
type StreamingAeadDecryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type StreamingAeadDecryptResponse_Plaintext ¶
type StreamingAeadDecryptResponse_Plaintext struct {
Plaintext []byte `protobuf:"bytes,1,opt,name=plaintext,proto3,oneof"`
}
type StreamingAeadEncryptRequest ¶
type StreamingAeadEncryptRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` Plaintext []byte `protobuf:"bytes,2,opt,name=plaintext,proto3" json:"plaintext,omitempty"` AssociatedData []byte `protobuf:"bytes,3,opt,name=associated_data,json=associatedData,proto3" json:"associated_data,omitempty"` // contains filtered or unexported fields }
func (*StreamingAeadEncryptRequest) Descriptor
deprecated
func (*StreamingAeadEncryptRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAeadEncryptRequest.ProtoReflect.Descriptor instead.
func (*StreamingAeadEncryptRequest) GetAnnotatedKeyset ¶
func (x *StreamingAeadEncryptRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*StreamingAeadEncryptRequest) GetAssociatedData ¶
func (x *StreamingAeadEncryptRequest) GetAssociatedData() []byte
func (*StreamingAeadEncryptRequest) GetPlaintext ¶
func (x *StreamingAeadEncryptRequest) GetPlaintext() []byte
func (*StreamingAeadEncryptRequest) ProtoMessage ¶
func (*StreamingAeadEncryptRequest) ProtoMessage()
func (*StreamingAeadEncryptRequest) ProtoReflect ¶
func (x *StreamingAeadEncryptRequest) ProtoReflect() protoreflect.Message
func (*StreamingAeadEncryptRequest) Reset ¶
func (x *StreamingAeadEncryptRequest) Reset()
func (*StreamingAeadEncryptRequest) String ¶
func (x *StreamingAeadEncryptRequest) String() string
type StreamingAeadEncryptResponse ¶
type StreamingAeadEncryptResponse struct { // Types that are assignable to Result: // // *StreamingAeadEncryptResponse_Ciphertext // *StreamingAeadEncryptResponse_Err Result isStreamingAeadEncryptResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
func (*StreamingAeadEncryptResponse) Descriptor
deprecated
func (*StreamingAeadEncryptResponse) Descriptor() ([]byte, []int)
Deprecated: Use StreamingAeadEncryptResponse.ProtoReflect.Descriptor instead.
func (*StreamingAeadEncryptResponse) GetCiphertext ¶
func (x *StreamingAeadEncryptResponse) GetCiphertext() []byte
func (*StreamingAeadEncryptResponse) GetErr ¶
func (x *StreamingAeadEncryptResponse) GetErr() string
func (*StreamingAeadEncryptResponse) GetResult ¶
func (m *StreamingAeadEncryptResponse) GetResult() isStreamingAeadEncryptResponse_Result
func (*StreamingAeadEncryptResponse) ProtoMessage ¶
func (*StreamingAeadEncryptResponse) ProtoMessage()
func (*StreamingAeadEncryptResponse) ProtoReflect ¶
func (x *StreamingAeadEncryptResponse) ProtoReflect() protoreflect.Message
func (*StreamingAeadEncryptResponse) Reset ¶
func (x *StreamingAeadEncryptResponse) Reset()
func (*StreamingAeadEncryptResponse) String ¶
func (x *StreamingAeadEncryptResponse) String() string
type StreamingAeadEncryptResponse_Ciphertext ¶
type StreamingAeadEncryptResponse_Ciphertext struct {
Ciphertext []byte `protobuf:"bytes,1,opt,name=ciphertext,proto3,oneof"`
}
type StreamingAeadEncryptResponse_Err ¶
type StreamingAeadEncryptResponse_Err struct {
Err string `protobuf:"bytes,2,opt,name=err,proto3,oneof"`
}
type StreamingAeadServer ¶
type StreamingAeadServer interface { // Creates a StreamingAead object without using it. Create(context.Context, *CreationRequest) (*CreationResponse, error) // Encrypts a plaintext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Encrypt(context.Context, *StreamingAeadEncryptRequest) (*StreamingAeadEncryptResponse, error) // Decrypts a ciphertext with the provided keyset. The client must call // "Create" first to see if creation succeeds before calling this. Decrypt(context.Context, *StreamingAeadDecryptRequest) (*StreamingAeadDecryptResponse, error) // contains filtered or unexported methods }
StreamingAeadServer is the server API for StreamingAead service. All implementations must embed UnimplementedStreamingAeadServer for forward compatibility
type UnimplementedAeadServer ¶
type UnimplementedAeadServer struct { }
UnimplementedAeadServer must be embedded to have forward compatible implementations.
func (UnimplementedAeadServer) Create ¶
func (UnimplementedAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedAeadServer) Decrypt ¶
func (UnimplementedAeadServer) Decrypt(context.Context, *AeadDecryptRequest) (*AeadDecryptResponse, error)
func (UnimplementedAeadServer) Encrypt ¶
func (UnimplementedAeadServer) Encrypt(context.Context, *AeadEncryptRequest) (*AeadEncryptResponse, error)
type UnimplementedDeterministicAeadServer ¶
type UnimplementedDeterministicAeadServer struct { }
UnimplementedDeterministicAeadServer must be embedded to have forward compatible implementations.
func (UnimplementedDeterministicAeadServer) Create ¶
func (UnimplementedDeterministicAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedDeterministicAeadServer) DecryptDeterministically ¶
func (UnimplementedDeterministicAeadServer) DecryptDeterministically(context.Context, *DeterministicAeadDecryptRequest) (*DeterministicAeadDecryptResponse, error)
func (UnimplementedDeterministicAeadServer) EncryptDeterministically ¶
func (UnimplementedDeterministicAeadServer) EncryptDeterministically(context.Context, *DeterministicAeadEncryptRequest) (*DeterministicAeadEncryptResponse, error)
type UnimplementedHybridServer ¶
type UnimplementedHybridServer struct { }
UnimplementedHybridServer must be embedded to have forward compatible implementations.
func (UnimplementedHybridServer) CreateHybridDecrypt ¶
func (UnimplementedHybridServer) CreateHybridDecrypt(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedHybridServer) CreateHybridEncrypt ¶
func (UnimplementedHybridServer) CreateHybridEncrypt(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedHybridServer) Decrypt ¶
func (UnimplementedHybridServer) Decrypt(context.Context, *HybridDecryptRequest) (*HybridDecryptResponse, error)
func (UnimplementedHybridServer) Encrypt ¶
func (UnimplementedHybridServer) Encrypt(context.Context, *HybridEncryptRequest) (*HybridEncryptResponse, error)
type UnimplementedJwtServer ¶
type UnimplementedJwtServer struct { }
UnimplementedJwtServer must be embedded to have forward compatible implementations.
func (UnimplementedJwtServer) ComputeMacAndEncode ¶
func (UnimplementedJwtServer) ComputeMacAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error)
func (UnimplementedJwtServer) CreateJwtMac ¶
func (UnimplementedJwtServer) CreateJwtMac(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedJwtServer) CreateJwtPublicKeySign ¶
func (UnimplementedJwtServer) CreateJwtPublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedJwtServer) CreateJwtPublicKeyVerify ¶
func (UnimplementedJwtServer) CreateJwtPublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedJwtServer) FromJwkSet ¶
func (UnimplementedJwtServer) FromJwkSet(context.Context, *JwtFromJwkSetRequest) (*JwtFromJwkSetResponse, error)
func (UnimplementedJwtServer) PublicKeySignAndEncode ¶
func (UnimplementedJwtServer) PublicKeySignAndEncode(context.Context, *JwtSignRequest) (*JwtSignResponse, error)
func (UnimplementedJwtServer) PublicKeyVerifyAndDecode ¶
func (UnimplementedJwtServer) PublicKeyVerifyAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error)
func (UnimplementedJwtServer) ToJwkSet ¶
func (UnimplementedJwtServer) ToJwkSet(context.Context, *JwtToJwkSetRequest) (*JwtToJwkSetResponse, error)
func (UnimplementedJwtServer) VerifyMacAndDecode ¶
func (UnimplementedJwtServer) VerifyMacAndDecode(context.Context, *JwtVerifyRequest) (*JwtVerifyResponse, error)
type UnimplementedKeysetDeriverServer ¶
type UnimplementedKeysetDeriverServer struct { }
UnimplementedKeysetDeriverServer must be embedded to have forward compatible implementations.
func (UnimplementedKeysetDeriverServer) Create ¶
func (UnimplementedKeysetDeriverServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedKeysetDeriverServer) DeriveKeyset ¶
func (UnimplementedKeysetDeriverServer) DeriveKeyset(context.Context, *DeriveKeysetRequest) (*DeriveKeysetResponse, error)
type UnimplementedKeysetServer ¶
type UnimplementedKeysetServer struct { }
UnimplementedKeysetServer must be embedded to have forward compatible implementations.
func (UnimplementedKeysetServer) FromJson ¶
func (UnimplementedKeysetServer) FromJson(context.Context, *KeysetFromJsonRequest) (*KeysetFromJsonResponse, error)
func (UnimplementedKeysetServer) Generate ¶
func (UnimplementedKeysetServer) Generate(context.Context, *KeysetGenerateRequest) (*KeysetGenerateResponse, error)
func (UnimplementedKeysetServer) GetTemplate ¶
func (UnimplementedKeysetServer) GetTemplate(context.Context, *KeysetTemplateRequest) (*KeysetTemplateResponse, error)
func (UnimplementedKeysetServer) Public ¶
func (UnimplementedKeysetServer) Public(context.Context, *KeysetPublicRequest) (*KeysetPublicResponse, error)
func (UnimplementedKeysetServer) ReadEncrypted ¶
func (UnimplementedKeysetServer) ReadEncrypted(context.Context, *KeysetReadEncryptedRequest) (*KeysetReadEncryptedResponse, error)
func (UnimplementedKeysetServer) ToJson ¶
func (UnimplementedKeysetServer) ToJson(context.Context, *KeysetToJsonRequest) (*KeysetToJsonResponse, error)
func (UnimplementedKeysetServer) WriteEncrypted ¶
func (UnimplementedKeysetServer) WriteEncrypted(context.Context, *KeysetWriteEncryptedRequest) (*KeysetWriteEncryptedResponse, error)
type UnimplementedMacServer ¶
type UnimplementedMacServer struct { }
UnimplementedMacServer must be embedded to have forward compatible implementations.
func (UnimplementedMacServer) ComputeMac ¶
func (UnimplementedMacServer) ComputeMac(context.Context, *ComputeMacRequest) (*ComputeMacResponse, error)
func (UnimplementedMacServer) Create ¶
func (UnimplementedMacServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedMacServer) VerifyMac ¶
func (UnimplementedMacServer) VerifyMac(context.Context, *VerifyMacRequest) (*VerifyMacResponse, error)
type UnimplementedMetadataServer ¶
type UnimplementedMetadataServer struct { }
UnimplementedMetadataServer must be embedded to have forward compatible implementations.
func (UnimplementedMetadataServer) GetServerInfo ¶
func (UnimplementedMetadataServer) GetServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
type UnimplementedPrfSetServer ¶
type UnimplementedPrfSetServer struct { }
UnimplementedPrfSetServer must be embedded to have forward compatible implementations.
func (UnimplementedPrfSetServer) Compute ¶
func (UnimplementedPrfSetServer) Compute(context.Context, *PrfSetComputeRequest) (*PrfSetComputeResponse, error)
func (UnimplementedPrfSetServer) Create ¶
func (UnimplementedPrfSetServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedPrfSetServer) KeyIds ¶
func (UnimplementedPrfSetServer) KeyIds(context.Context, *PrfSetKeyIdsRequest) (*PrfSetKeyIdsResponse, error)
type UnimplementedSignatureServer ¶
type UnimplementedSignatureServer struct { }
UnimplementedSignatureServer must be embedded to have forward compatible implementations.
func (UnimplementedSignatureServer) CreatePublicKeySign ¶
func (UnimplementedSignatureServer) CreatePublicKeySign(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedSignatureServer) CreatePublicKeyVerify ¶
func (UnimplementedSignatureServer) CreatePublicKeyVerify(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedSignatureServer) Sign ¶
func (UnimplementedSignatureServer) Sign(context.Context, *SignatureSignRequest) (*SignatureSignResponse, error)
func (UnimplementedSignatureServer) Verify ¶
func (UnimplementedSignatureServer) Verify(context.Context, *SignatureVerifyRequest) (*SignatureVerifyResponse, error)
type UnimplementedStreamingAeadServer ¶
type UnimplementedStreamingAeadServer struct { }
UnimplementedStreamingAeadServer must be embedded to have forward compatible implementations.
func (UnimplementedStreamingAeadServer) Create ¶
func (UnimplementedStreamingAeadServer) Create(context.Context, *CreationRequest) (*CreationResponse, error)
func (UnimplementedStreamingAeadServer) Decrypt ¶
func (UnimplementedStreamingAeadServer) Decrypt(context.Context, *StreamingAeadDecryptRequest) (*StreamingAeadDecryptResponse, error)
func (UnimplementedStreamingAeadServer) Encrypt ¶
func (UnimplementedStreamingAeadServer) Encrypt(context.Context, *StreamingAeadEncryptRequest) (*StreamingAeadEncryptResponse, error)
type UnsafeAeadServer ¶
type UnsafeAeadServer interface {
// contains filtered or unexported methods
}
UnsafeAeadServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AeadServer will result in compilation errors.
type UnsafeDeterministicAeadServer ¶
type UnsafeDeterministicAeadServer interface {
// contains filtered or unexported methods
}
UnsafeDeterministicAeadServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DeterministicAeadServer will result in compilation errors.
type UnsafeHybridServer ¶
type UnsafeHybridServer interface {
// contains filtered or unexported methods
}
UnsafeHybridServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HybridServer will result in compilation errors.
type UnsafeJwtServer ¶
type UnsafeJwtServer interface {
// contains filtered or unexported methods
}
UnsafeJwtServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to JwtServer will result in compilation errors.
type UnsafeKeysetDeriverServer ¶
type UnsafeKeysetDeriverServer interface {
// contains filtered or unexported methods
}
UnsafeKeysetDeriverServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeysetDeriverServer will result in compilation errors.
type UnsafeKeysetServer ¶
type UnsafeKeysetServer interface {
// contains filtered or unexported methods
}
UnsafeKeysetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to KeysetServer will result in compilation errors.
type UnsafeMacServer ¶
type UnsafeMacServer interface {
// contains filtered or unexported methods
}
UnsafeMacServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MacServer will result in compilation errors.
type UnsafeMetadataServer ¶
type UnsafeMetadataServer interface {
// contains filtered or unexported methods
}
UnsafeMetadataServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetadataServer will result in compilation errors.
type UnsafePrfSetServer ¶
type UnsafePrfSetServer interface {
// contains filtered or unexported methods
}
UnsafePrfSetServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PrfSetServer will result in compilation errors.
type UnsafeSignatureServer ¶
type UnsafeSignatureServer interface {
// contains filtered or unexported methods
}
UnsafeSignatureServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SignatureServer will result in compilation errors.
type UnsafeStreamingAeadServer ¶
type UnsafeStreamingAeadServer interface {
// contains filtered or unexported methods
}
UnsafeStreamingAeadServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StreamingAeadServer will result in compilation errors.
type VerifyMacRequest ¶
type VerifyMacRequest struct { AnnotatedKeyset *AnnotatedKeyset `protobuf:"bytes,1,opt,name=annotated_keyset,json=annotatedKeyset,proto3" json:"annotated_keyset,omitempty"` MacValue []byte `protobuf:"bytes,2,opt,name=mac_value,json=macValue,proto3" json:"mac_value,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*VerifyMacRequest) Descriptor
deprecated
func (*VerifyMacRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyMacRequest.ProtoReflect.Descriptor instead.
func (*VerifyMacRequest) GetAnnotatedKeyset ¶
func (x *VerifyMacRequest) GetAnnotatedKeyset() *AnnotatedKeyset
func (*VerifyMacRequest) GetData ¶
func (x *VerifyMacRequest) GetData() []byte
func (*VerifyMacRequest) GetMacValue ¶
func (x *VerifyMacRequest) GetMacValue() []byte
func (*VerifyMacRequest) ProtoMessage ¶
func (*VerifyMacRequest) ProtoMessage()
func (*VerifyMacRequest) ProtoReflect ¶
func (x *VerifyMacRequest) ProtoReflect() protoreflect.Message
func (*VerifyMacRequest) Reset ¶
func (x *VerifyMacRequest) Reset()
func (*VerifyMacRequest) String ¶
func (x *VerifyMacRequest) String() string
type VerifyMacResponse ¶
type VerifyMacResponse struct { Err string `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*VerifyMacResponse) Descriptor
deprecated
func (*VerifyMacResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyMacResponse.ProtoReflect.Descriptor instead.
func (*VerifyMacResponse) GetErr ¶
func (x *VerifyMacResponse) GetErr() string
func (*VerifyMacResponse) ProtoMessage ¶
func (*VerifyMacResponse) ProtoMessage()
func (*VerifyMacResponse) ProtoReflect ¶
func (x *VerifyMacResponse) ProtoReflect() protoreflect.Message
func (*VerifyMacResponse) Reset ¶
func (x *VerifyMacResponse) Reset()
func (*VerifyMacResponse) String ¶
func (x *VerifyMacResponse) String() string