Directories
¶
| Path | Synopsis |
|---|---|
|
Package armor implements OpenPGP ASCII Armor, see RFC 9580 §6.
|
Package armor implements OpenPGP ASCII Armor, see RFC 9580 §6. |
|
Package authority implements an in-process Certification Authority.
|
Package authority implements an in-process Certification Authority. |
|
Package certutil provides utilities to work with certificates.
|
Package certutil provides utilities to work with certificates. |
|
cmd
|
|
|
hsm-tool
command
Command hsm-tool manages keys in a PKCS#11 HSM, AWS KMS, GCP KMS or an in-memory provider, and creates CSRs and certificates signed with those keys.
|
Command hsm-tool manages keys in a PKCS#11 HSM, AWS KMS, GCP KMS or an in-memory provider, and creates CSRs and certificates signed with those keys. |
|
hsm-tool/cli
Package cli implements the hsm-tool command tree: hsm list/info/generate/ remove and csr create/gen-cert/sign.
|
Package cli implements the hsm-tool command tree: hsm list/info/generate/ remove and csr create/gen-cert/sign. |
|
xpki-tool
command
Command xpki-tool inspects and validates PKI artifacts: certificates, certificate requests, CRLs and OCSP responses.
|
Command xpki-tool inspects and validates PKI artifacts: certificates, certificate requests, CRLs and OCSP responses. |
|
xpki-tool/cli
Package cli implements the xpki-tool command tree: csr-info, cert info/validate, crl info/fetch and ocsp info/fetch.
|
Package cli implements the xpki-tool command tree: csr-info, cert info/validate, crl info/fetch and ocsp info/fetch. |
|
Package crypto11 provides a Go interface to PKCS#11 cryptographic devices such as Hardware Security Modules (HSMs) and smart cards.
|
Package crypto11 provides a Go interface to PKCS#11 cryptographic devices such as Hardware Security Modules (HSMs) and smart cards. |
|
Package cryptoprov provides a unified interface for cryptographic operations across different providers and hardware security modules (HSMs).
|
Package cryptoprov provides a unified interface for cryptographic operations across different providers and hardware security modules (HSMs). |
|
awskmscrypto
Package awskmscrypto implements cryptoprov.Provider and cryptoprov.KeyManager over AWS KMS asymmetric signing keys (RSA 2048/3072/4096 and NIST P-256, P-384, P-521).
|
Package awskmscrypto implements cryptoprov.Provider and cryptoprov.KeyManager over AWS KMS asymmetric signing keys (RSA 2048/3072/4096 and NIST P-256, P-384, P-521). |
|
gcpkmscrypto
Package gcpkmscrypto implements cryptoprov.Provider and cryptoprov.KeyManager over Google Cloud KMS (HSM protection level).
|
Package gcpkmscrypto implements cryptoprov.Provider and cryptoprov.KeyManager over Google Cloud KMS (HSM protection level). |
|
inmemcrypto
Package inmemcrypto is a software cryptoprov.Provider that keeps RSA and ECDSA keys in memory and can export them as PEM.
|
Package inmemcrypto is a software cryptoprov.Provider that keeps RSA and ECDSA keys in memory and can export them as PEM. |
|
testprov
Package testprov is a test-only in-memory cryptoprov.Provider whose keys are not exportable: ExportKey returns a pkcs11: URI like the HSM and KMS providers do, and the key wrapper implements crypto.Decrypter.
|
Package testprov is a test-only in-memory cryptoprov.Provider whose keys are not exportable: ExportKey returns a pkcs11: URI like the HSM and KMS providers do, and the key wrapper implements crypto.Decrypter. |
|
Package csr provides utilities for creating, parsing, and validating Certificate Signing Requests (CSRs) as defined by RFC 2986.
|
Package csr provides utilities for creating, parsing, and validating Certificate Signing Requests (CSRs) as defined by RFC 2986. |
|
Package dataprotection provides authenticated encryption of small payloads behind the Provider interface, plus helpers to protect and unprotect JSON objects as base64url strings.
|
Package dataprotection provides authenticated encryption of small payloads behind the Provider interface, plus helpers to protect and unprotect JSON objects as base64url strings. |
|
internal
|
|
|
testenv
Package testenv gates tests that need external fixtures, such as the local-kms emulator or the SoftHSM token (XPKI-100).
|
Package testenv gates tests that need external fixtures, such as the local-kms emulator or the SoftHSM token (XPKI-100). |
|
version
Package version exposes the build version of the binaries.
|
Package version exposes the build version of the binaries. |
|
Package jwt provides JSON Web Token (JWT) signing, verification, and parsing capabilities.
|
Package jwt provides JSON Web Token (JWT) signing, verification, and parsing capabilities. |
|
accesstoken
Package accesstoken wraps a jwt.Provider and a dataprotection.Provider to issue opaque encrypted access tokens of the form "pat.<base64url(AES-GCM (claims))>" while still parsing plain JWTs through the inner provider.
|
Package accesstoken wraps a jwt.Provider and a dataprotection.Provider to issue opaque encrypted access tokens of the form "pat.<base64url(AES-GCM (claims))>" while still parsing plain JWTs through the inner provider. |
|
dpop
Package dpop implements OAuth 2.0 Demonstrating Proof of Possession (RFC 9449): clients build DPoP proof JWTs for HTTP requests with Signer and ForRequest; servers verify them with VerifyRequestClaims or VerifyClaimsContext and bind the resulting key thumbprint to the access token "cnf.jkt" claim.
|
Package dpop implements OAuth 2.0 Demonstrating Proof of Possession (RFC 9449): clients build DPoP proof JWTs for HTTP requests with Signer and ForRequest; servers verify them with VerifyRequestClaims or VerifyClaimsContext and bind the resulting key thumbprint to the access token "cnf.jkt" claim. |
|
oauth2client
Package oauth2client holds the configuration model and registry for OAuth2 and OpenID Connect identity-provider clients, looked up by provider id, email or email domain, and a helper to build token-endpoint requests.
|
Package oauth2client holds the configuration model and registry for OAuth2 and OpenID Connect identity-provider clients, looked up by provider id, email or email domain, and a helper to build token-endpoint requests. |
|
Package metricskey defines the metrics.Describe descriptors emitted by the crypto providers (perf_crypto) and the certificate authority (perf_ca, perf_ca_signreq), and the Metrics list used to register them.
|
Package metricskey defines the metrics.Describe descriptors emitted by the crypto providers (perf_crypto) and the certificate authority (perf_ca, perf_ca_signreq), and the Metrics list used to register them. |
|
Package oid maps well-known X.509 object identifiers, key usages and extended key usages to human-readable names and back.
|
Package oid maps well-known X.509 object identifiers, key usages and extended key usages to human-readable names and back. |
|
Package testca provides utilities for creating test Certificate Authorities and certificates for testing and development purposes.
|
Package testca provides utilities for creating test Certificate Authorities and certificates for testing and development purposes. |
|
x
|
|
|
print
Package print writes human-readable descriptions of certificates, certificate requests, CRLs and OCSP responses to an io.Writer, and a JSON helper for CLI output.
|
Package print writes human-readable descriptions of certificates, certificate requests, CRLs and OCSP responses to an io.Writer, and a JSON helper for CLI output. |
Click to show internal directories.
Click to hide internal directories.