x509

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateSubjectHash

func CertificateSubjectHash(cert *x509.Certificate) (string, error)

CertificateSubjectHash implements `openssl x509 -subject_hash`, outputting an 8 character hexadecimal hash of the given Certificate subject.

func ForEachCertInBundle

func ForEachCertInBundle(bundle []byte, fn func(cert *x509.Certificate, pem []byte) error) error

ForEachCertInBundle calls the provided function for every certificate in a bundle file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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