Documentation ¶
Index ¶
- type Config
- type UpstreamAuthority
- func (ua *UpstreamAuthority) AppendJWTKey(jwtKey *common.PublicKey)
- func (ua *UpstreamAuthority) JWTKeys() []*common.PublicKey
- func (ua *UpstreamAuthority) MintX509CA(request *upstreamauthority.MintX509CARequest, ...) error
- func (ua *UpstreamAuthority) PublishJWTKey(req *upstreamauthority.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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { TrustDomain string UseIntermediate bool DisallowPublishJWTKey bool MutateMintX509CAResponse func(*upstreamauthority.MintX509CAResponse) MutatePublishJWTKeyResponse func(*upstreamauthority.PublishJWTKeyResponse) }
type UpstreamAuthority ¶
type UpstreamAuthority struct {
// contains filtered or unexported fields
}
func Load ¶
func Load(t *testing.T, config Config) (upstreamauthority.UpstreamAuthority, *UpstreamAuthority)
func (*UpstreamAuthority) AppendJWTKey ¶
func (ua *UpstreamAuthority) AppendJWTKey(jwtKey *common.PublicKey)
func (*UpstreamAuthority) JWTKeys ¶
func (ua *UpstreamAuthority) JWTKeys() []*common.PublicKey
func (*UpstreamAuthority) MintX509CA ¶
func (ua *UpstreamAuthority) MintX509CA(request *upstreamauthority.MintX509CARequest, stream upstreamauthority.UpstreamAuthority_MintX509CAServer) error
func (*UpstreamAuthority) PublishJWTKey ¶
func (ua *UpstreamAuthority) PublishJWTKey(req *upstreamauthority.PublishJWTKeyRequest, stream upstreamauthority.UpstreamAuthority_PublishJWTKeyServer) error
func (*UpstreamAuthority) RotateX509CA ¶
func (ua *UpstreamAuthority) RotateX509CA()
func (*UpstreamAuthority) TriggerJWTKeysChanged ¶
func (ua *UpstreamAuthority) TriggerJWTKeysChanged()
func (*UpstreamAuthority) TriggerX509RootsChanged ¶
func (ua *UpstreamAuthority) TriggerX509RootsChanged()
func (*UpstreamAuthority) X509Intermediate ¶
func (ua *UpstreamAuthority) X509Intermediate() *x509.Certificate
func (*UpstreamAuthority) X509Root ¶
func (ua *UpstreamAuthority) X509Root() *x509.Certificate
func (*UpstreamAuthority) X509Roots ¶
func (ua *UpstreamAuthority) X509Roots() []*x509.Certificate
Click to show internal directories.
Click to hide internal directories.