Documentation ¶
Overview ¶
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCertificateECDSA ¶ added in v1.1.0
func LoadCertificateECDSA(certPath string) (*x509.Certificate, error)
LoadCertificateECDSA load a ecdsa cert from a file in cert path
Types ¶
type CA ¶
type CA struct { Name string Country string Province string Locality string OrganizationalUnit string StreetAddress string PostalCode string //SignKey *ecdsa.PrivateKey Signer crypto.Signer SignCert *x509.Certificate }
Click to show internal directories.
Click to hide internal directories.