Back to / csr

package csr

v0.0.0 (50d4043)
Latest Go to latest
Published: 2 days ago | License: MPL-2.0 | Module:


Package Files

func VerifyCSR

func VerifyCSR(ctx context.Context, csr *x509.CertificateRequest, maxNames int, keyPolicy *goodkey.KeyPolicy, pa core.PolicyAuthority, forceCNFromSAN bool, regID int64) error

VerifyCSR checks the validity of a x509.CertificateRequest. Before doing checks it normalizes the CSR which lowers the case of DNS names and subject CN, and if forceCNFromSAN is true it will hoist a DNS name into the CN if it is empty.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier