Documentation
¶
Overview ¶
Package generator acts as the front-end for certificate generation and should always be the way external packages generate certificates.
The proxy functions defined here take all measures necessary, so that a config.CertificateContent directly yields a cert.CertificateContext. It also ensures that the intended defaults are applied as expected.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCertBody ¶
func BuildCertBody(c config.CertificateContent, prk crypto.PrivateKey) (*cert.CertificateContext, error)
Returns a cert.CertificateContext that corresponds to the supplied config.CertificateContent. This entails calling the Builder() function for each supplied config.ExtensionConfig, so the side offects of these functions also apply. The function will fail, if any call to Builder() or the certificate generation itself fails.
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package cert includes all necessary functions and data structures for certificate generation.
|
Package cert includes all necessary functions and data structures for certificate generation. |
v1
Implements version 1 of the configuration parser.
|
Implements version 1 of the configuration parser. |
Generic certificate database package
|
Generic certificate database package |
filesystem
Database implementation for filesystems.
|
Database implementation for filesystems. |
dcrypto
|
|
ecdsa
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-4 and SEC 1, Version 2.0.
|
Package ecdsa implements the Elliptic Curve Digital Signature Algorithm, as defined in FIPS 186-4 and SEC 1, Version 2.0. |
internal/nistec
Package nistec implements the NIST P elliptic curves from FIPS 186-4.
|
Package nistec implements the NIST P elliptic curves from FIPS 186-4. |
rsa
Package rsa implements RSA encryption as specified in PKCS #1 and RFC 8017.
|
Package rsa implements RSA encryption as specified in PKCS #1 and RFC 8017. |