x509cert

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeRequest

DecodeRequest process the X509CertificateSigningRequest and returns an (unsigned) x509 certificate.

func GenCACert

func GenCACert(config *crypki.CAConfig, signer crypto.Signer, hostname string, ips []net.IP, pka crypki.PublicKeyAlgorithm, sa crypki.SignatureAlgorithm) ([]byte, error)

GenCACert creates the CA certificate given signer.

func GetPublicKeyAlgorithm added in v1.7.1

func GetPublicKeyAlgorithm(pka crypki.PublicKeyAlgorithm) x509.PublicKeyAlgorithm

GetPublicKeyAlgorithm returns the x509 Public algorithm corresponding to the public key algorithm received as part of CSR.

func GetSignatureAlgorithm added in v1.7.1

func GetSignatureAlgorithm(sa crypki.SignatureAlgorithm) x509.SignatureAlgorithm

GetSignatureAlgorithm returns x509 Signature algorithm corresponding to signature algorithm received as part of CSR.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL