Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type Config struct + DisallowPublishJWTKey bool + KeyUsage x509.KeyUsage + MutateMintX509CAResponse func(*upstreamauthorityv1.MintX509CAResponse) + MutatePublishJWTKeyResponse func(*upstreamauthorityv1.PublishJWTKeyResponse) + TrustDomain spiffeid.TrustDomain + UseIntermediate bool + type UpstreamAuthority struct + func Load(t *testing.T, config Config) (upstreamauthority.UpstreamAuthority, *UpstreamAuthority) + func New(t *testing.T, config Config) *UpstreamAuthority + func (ua *UpstreamAuthority) AppendJWTKey(jwtKey *common.PublicKey) + func (ua *UpstreamAuthority) JWTKeys() []*common.PublicKey + func (ua *UpstreamAuthority) MintX509CAAndSubscribe(request *upstreamauthorityv1.MintX509CARequest, ...) error + func (ua *UpstreamAuthority) PublishJWTKeyAndSubscribe(req *upstreamauthorityv1.PublishJWTKeyRequest, ...) error + func (ua *UpstreamAuthority) RotateX509CA() + func (ua *UpstreamAuthority) TriggerJWTKeysChanged() + func (ua *UpstreamAuthority) TriggerX509RootsChanged() + func (ua *UpstreamAuthority) X509Intermediate() *x509.Certificate + func (ua *UpstreamAuthority) X509Root() *x509.Certificate + func (ua *UpstreamAuthority) X509Roots() []*x509.Certificate