types

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 5 Imported by: 3 modules, 14 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

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_witkey_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"`
	// WIT authorities for authenticating WIT-SVIDs.
	WitAuthorities []*WITKey `protobuf:"bytes,6,rep,name=wit_authorities,json=witAuthorities,proto3" json:"wit_authorities,omitempty"`
	// contains filtered or unexported fields
}

func (*Bundle) Descriptor deprecated

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

Deprecated: Use Bundle.ProtoReflect.Descriptor instead.

func (*Bundle) GetJwtAuthorities

func (x *Bundle) GetJwtAuthorities() []*JWTKey

func (*Bundle) GetRefreshHint

func (x *Bundle) GetRefreshHint() int64

func (*Bundle) GetSequenceNumber

func (x *Bundle) GetSequenceNumber() uint64

func (*Bundle) GetTrustDomain

func (x *Bundle) GetTrustDomain() string

func (*Bundle) GetWitAuthorities added in v1.14.0

func (x *Bundle) GetWitAuthorities() []*WITKey

func (*Bundle) GetX509Authorities

func (x *Bundle) GetX509Authorities() []*X509Certificate

func (*Bundle) ProtoMessage

func (*Bundle) ProtoMessage()

func (*Bundle) ProtoReflect

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

func (*Bundle) Reset

func (x *Bundle) Reset()

func (*Bundle) String

func (x *Bundle) String() string

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"`
	// Indicates if the key has been tainted. A tainted key is not safe to be used anymore.
	Tainted bool `protobuf:"varint,4,opt,name=tainted,proto3" json:"tainted,omitempty"`
	// contains filtered or unexported fields
}

func (*JWTKey) Descriptor deprecated

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

Deprecated: Use JWTKey.ProtoReflect.Descriptor instead.

func (*JWTKey) GetExpiresAt

func (x *JWTKey) GetExpiresAt() int64

func (*JWTKey) GetKeyId

func (x *JWTKey) GetKeyId() string

func (*JWTKey) GetPublicKey

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

func (*JWTKey) GetTainted added in v1.10.4

func (x *JWTKey) GetTainted() bool

func (*JWTKey) ProtoMessage

func (*JWTKey) ProtoMessage()

func (*JWTKey) ProtoReflect

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

func (*JWTKey) Reset

func (x *JWTKey) Reset()

func (*JWTKey) String

func (x *JWTKey) String() string

type WITKey added in v1.14.0

type WITKey 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"`
	// Indicates if the key has been tainted. A tainted key is not safe to be used anymore.
	Tainted bool `protobuf:"varint,4,opt,name=tainted,proto3" json:"tainted,omitempty"`
	// contains filtered or unexported fields
}

func (*WITKey) Descriptor deprecated added in v1.14.0

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

Deprecated: Use WITKey.ProtoReflect.Descriptor instead.

func (*WITKey) GetExpiresAt added in v1.14.0

func (x *WITKey) GetExpiresAt() int64

func (*WITKey) GetKeyId added in v1.14.0

func (x *WITKey) GetKeyId() string

func (*WITKey) GetPublicKey added in v1.14.0

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

func (*WITKey) GetTainted added in v1.14.0

func (x *WITKey) GetTainted() bool

func (*WITKey) ProtoMessage added in v1.14.0

func (*WITKey) ProtoMessage()

func (*WITKey) ProtoReflect added in v1.14.0

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

func (*WITKey) Reset added in v1.14.0

func (x *WITKey) Reset()

func (*WITKey) String added in v1.14.0

func (x *WITKey) String() string

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"`
	// Indicates if the authority has been tainted. A tainted authority is not safe to be used anymore.
	Tainted bool `protobuf:"varint,2,opt,name=tainted,proto3" json:"tainted,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) GetTainted added in v1.10.4

func (x *X509Certificate) GetTainted() bool

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

Jump to

Keyboard shortcuts

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