Documentation ¶
Index ¶
- func CreateCertificateSigningRequest(info x509.CertificateRequest, pk interface{}) ([]byte, error)
- func GeneratePrivateKey(keySize int) (*pem.Block, error)
- func ParsePrivateKey(der []byte) (*rsa.PrivateKey, error)
- func PublicKeyAlgorithm(algorithm string) x509.PublicKeyAlgorithm
- func SignatureAlgorithm(algorithm string) x509.SignatureAlgorithm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCertificateSigningRequest ¶
func CreateCertificateSigningRequest(info x509.CertificateRequest, pk interface{}) ([]byte, error)
CreateCertificateSigningRequest creates a certificate request
func GeneratePrivateKey ¶
GeneratePrivateKey creates the rsa private key
func ParsePrivateKey ¶
func ParsePrivateKey(der []byte) (*rsa.PrivateKey, error)
ParsePrivateKey parse the rsa private key
func PublicKeyAlgorithm ¶
func PublicKeyAlgorithm(algorithm string) x509.PublicKeyAlgorithm
PublicKeyAlgorithm returns the x509 public key algorithm
func SignatureAlgorithm ¶
func SignatureAlgorithm(algorithm string) x509.SignatureAlgorithm
SignatureAlgorithm returns the x509 signature algorithm
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.