Documentation ¶
Index ¶
- Variables
- type BaseCA
- func (bca *BaseCA) Close() error
- func (bca *BaseCA) CreateCertificate(ctx context.Context, principal identity.Principal, publicKey crypto.PublicKey) (*ca.CodeSigningCertificate, error)
- func (bca *BaseCA) CreatePrecertificate(ctx context.Context, principal identity.Principal, publicKey crypto.PublicKey) (*ca.CodeSigningPreCertificate, error)
- func (bca *BaseCA) IssueFinalCertificate(ctx context.Context, precert *ca.CodeSigningPreCertificate, ...) (*ca.CodeSigningCertificate, error)
- func (bca *BaseCA) TrustBundle(ctx context.Context) ([][]*x509.Certificate, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // OIDExtensionCTPoison is defined in RFC 6962 s3.1. OIDExtensionCTPoison = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 11129, 2, 4, 3} // OIDExtensionCTSCT is defined in RFC 6962 s3.3. OIDExtensionCTSCT = asn1.ObjectIdentifier{1, 3, 6, 1, 4, 1, 11129, 2, 4, 2} )
Functions ¶
This section is empty.
Types ¶
type BaseCA ¶
type BaseCA struct { // contains the chain of certificates and signer ca.SignerWithChain }
func (*BaseCA) CreateCertificate ¶
func (*BaseCA) CreatePrecertificate ¶
func (*BaseCA) IssueFinalCertificate ¶
func (bca *BaseCA) IssueFinalCertificate(ctx context.Context, precert *ca.CodeSigningPreCertificate, sct *ct.SignedCertificateTimestamp) (*ca.CodeSigningCertificate, error)
func (*BaseCA) TrustBundle ¶ added in v0.5.2
Click to show internal directories.
Click to hide internal directories.