x509

package
v0.6.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToHex

func BytesToHex(bytes []byte) string

Types

type X509Certificate

type X509Certificate struct {
	Issuer         string
	SerialNumber   string
	Subject        string
	SubjectKeyID   string
	AuthorityKeyID string
	Certificate    *x509.Certificate
}

func DecodeX509Certificate

func DecodeX509Certificate(pemCertificate string) (*X509Certificate, error)

func (X509Certificate) IsSelfSigned

func (c X509Certificate) IsSelfSigned() bool

func (X509Certificate) Verify

func (c X509Certificate) Verify(parent *X509Certificate) error

Jump to

Keyboard shortcuts

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