Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type CredentialComposer interface + ComposeAgentX509SVID func(ctx context.Context, id spiffeid.ID, publicKey crypto.PublicKey, ...) (X509SVIDAttributes, error) + ComposeServerX509CA func(ctx context.Context, attributes X509CAAttributes) (X509CAAttributes, error) + ComposeServerX509SVID func(ctx context.Context, attributes X509SVIDAttributes) (X509SVIDAttributes, error) + ComposeWorkloadJWTSVID func(ctx context.Context, id spiffeid.ID, attributes JWTSVIDAttributes) (JWTSVIDAttributes, error) + ComposeWorkloadX509SVID func(ctx context.Context, id spiffeid.ID, publicKey crypto.PublicKey, ...) (X509SVIDAttributes, error) + type JWTSVIDAttributes struct + Claims map[string]interface{} + type Repository struct + CredentialComposers []CredentialComposer + func (repo *Repository) AddCredentialComposer(credentialComposer CredentialComposer) + func (repo *Repository) Clear() + func (repo *Repository) GetCredentialComposers() []CredentialComposer + type V1 struct + func (v1 V1) ComposeAgentX509SVID(ctx context.Context, id spiffeid.ID, publicKey crypto.PublicKey, ...) (X509SVIDAttributes, error) + func (v1 V1) ComposeServerX509CA(ctx context.Context, attributes X509CAAttributes) (X509CAAttributes, error) + func (v1 V1) ComposeServerX509SVID(ctx context.Context, attributes X509SVIDAttributes) (X509SVIDAttributes, error) + func (v1 V1) ComposeWorkloadJWTSVID(ctx context.Context, id spiffeid.ID, attributes JWTSVIDAttributes) (JWTSVIDAttributes, error) + func (v1 V1) ComposeWorkloadX509SVID(ctx context.Context, id spiffeid.ID, publicKey crypto.PublicKey, ...) (X509SVIDAttributes, error) + type X509CAAttributes struct + ExtraExtensions []pkix.Extension + PolicyIdentifiers []asn1.ObjectIdentifier + Subject pkix.Name + type X509SVIDAttributes struct + DNSNames []string + ExtraExtensions []pkix.Extension + Subject pkix.Name