hx509

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PEMtoPrivateKey

func PEMtoPrivateKey(raw []byte, pwd []byte) (interface{}, error)

PEMtoPrivateKey unmarshals a pem to private key

func ParseCertificate

func ParseCertificate(asn1Data []byte) (*x509.Certificate, error)

func PrivateKeyToDER

func PrivateKeyToDER(privateKey *ecdsa.PrivateKey) ([]byte, error)

func Verify

func Verify(cert *x509.Certificate, opts x509.VerifyOptions) (chains [][]*x509.Certificate, err error)

func WrapHashResult

func WrapHashResult(bsp bccsp.BCCSP, msg []byte, digest []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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