x509util

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package x509util provides the method to validate the certificate chain for a specific purpose, including code signing and timestamping. It also provides the method to find the extension by the given OID.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindExtensionByOID added in v1.3.0

func FindExtensionByOID(extensions []pkix.Extension, oid asn1.ObjectIdentifier) *pkix.Extension

FindExtensionByOID finds the extension by the given OID.

func ValidateChain

func ValidateChain(certChain []*x509.Certificate, certChainPurpose purpose.Purpose) error

ValidateChain checks the certificate chain for a specific purpose, including code signing and timestamping.

Types

This section is empty.

Jump to

Keyboard shortcuts

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