Documentation ¶
Index ¶
- Variables
- type Bundle
- func (*Bundle) Descriptor() ([]byte, []int)deprecated
- func (x *Bundle) GetJwtAuthorities() []*JWTKey
- func (x *Bundle) GetRefreshHint() int64
- func (x *Bundle) GetSequenceNumber() uint64
- func (x *Bundle) GetTrustDomain() string
- func (x *Bundle) GetX509Authorities() []*X509Certificate
- func (*Bundle) ProtoMessage()
- func (x *Bundle) ProtoReflect() protoreflect.Message
- func (x *Bundle) Reset()
- func (x *Bundle) String() string
- type JWTKey
- func (*JWTKey) Descriptor() ([]byte, []int)deprecated
- func (x *JWTKey) GetExpiresAt() int64
- func (x *JWTKey) GetKeyId() string
- func (x *JWTKey) GetPublicKey() []byte
- func (*JWTKey) ProtoMessage()
- func (x *JWTKey) ProtoReflect() protoreflect.Message
- func (x *JWTKey) Reset()
- func (x *JWTKey) String() string
- type X509Certificate
Constants ¶
This section is empty.
Variables ¶
View Source
var File_spire_plugin_types_bundle_proto protoreflect.FileDescriptor
View Source
var File_spire_plugin_types_jwtkey_proto protoreflect.FileDescriptor
View Source
var File_spire_plugin_types_x509certificate_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Bundle ¶
type Bundle struct { // The name of the trust domain the bundle belongs to (e.g., "example.org"). TrustDomain string `protobuf:"bytes,1,opt,name=trust_domain,json=trustDomain,proto3" json:"trust_domain,omitempty"` // X.509 authorities for authenticating X509-SVIDs. X509Authorities []*X509Certificate `protobuf:"bytes,2,rep,name=x509_authorities,json=x509Authorities,proto3" json:"x509_authorities,omitempty"` // JWT authorities for authenticating JWT-SVIDs. JwtAuthorities []*JWTKey `protobuf:"bytes,3,rep,name=jwt_authorities,json=jwtAuthorities,proto3" json:"jwt_authorities,omitempty"` // A hint on how often the bundle should be refreshed from the bundle // provider, in seconds. Can be zero (meaning no hint available). RefreshHint int64 `protobuf:"varint,4,opt,name=refresh_hint,json=refreshHint,proto3" json:"refresh_hint,omitempty"` // The sequence number of the bundle. SequenceNumber uint64 `protobuf:"varint,5,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // contains filtered or unexported fields }
func (*Bundle) Descriptor
deprecated
func (*Bundle) GetJwtAuthorities ¶
func (*Bundle) GetRefreshHint ¶
func (*Bundle) GetSequenceNumber ¶
func (*Bundle) GetTrustDomain ¶
func (*Bundle) GetX509Authorities ¶
func (x *Bundle) GetX509Authorities() []*X509Certificate
func (*Bundle) ProtoMessage ¶
func (*Bundle) ProtoMessage()
func (*Bundle) ProtoReflect ¶
func (x *Bundle) ProtoReflect() protoreflect.Message
type JWTKey ¶
type JWTKey struct { // The PKIX encoded public key. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // The key identifier. KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // When the key expires (seconds since Unix epoch). If zero, the key does // not expire. ExpiresAt int64 `protobuf:"varint,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // contains filtered or unexported fields }
func (*JWTKey) Descriptor
deprecated
func (*JWTKey) GetExpiresAt ¶
func (*JWTKey) GetPublicKey ¶
func (*JWTKey) ProtoMessage ¶
func (*JWTKey) ProtoMessage()
func (*JWTKey) ProtoReflect ¶
func (x *JWTKey) ProtoReflect() protoreflect.Message
type X509Certificate ¶
type X509Certificate struct { // The ASN.1 DER encoded bytes of the X.509 certificate. Asn1 []byte `protobuf:"bytes,1,opt,name=asn1,proto3" json:"asn1,omitempty"` // contains filtered or unexported fields }
func (*X509Certificate) Descriptor
deprecated
func (*X509Certificate) Descriptor() ([]byte, []int)
Deprecated: Use X509Certificate.ProtoReflect.Descriptor instead.
func (*X509Certificate) GetAsn1 ¶
func (x *X509Certificate) GetAsn1() []byte
func (*X509Certificate) ProtoMessage ¶
func (*X509Certificate) ProtoMessage()
func (*X509Certificate) ProtoReflect ¶
func (x *X509Certificate) ProtoReflect() protoreflect.Message
func (*X509Certificate) Reset ¶
func (x *X509Certificate) Reset()
func (*X509Certificate) String ¶
func (x *X509Certificate) String() string
Click to show internal directories.
Click to hide internal directories.