Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RevocationReasonCodes = map[string]int{ "unspecified": ocsp.Unspecified, "keycompromise": ocsp.KeyCompromise, "cacompromise": ocsp.CACompromise, "affiliationchanged": ocsp.AffiliationChanged, "superseded": ocsp.Superseded, "cessationofoperation": ocsp.CessationOfOperation, "certificatehold": ocsp.CertificateHold, "removefromcrl": ocsp.RemoveFromCRL, "privilegewithdrawn": ocsp.PrivilegeWithdrawn, "aacompromise": ocsp.AACompromise, }
RevocationReasonCodes is a map between string reason codes to integers as defined in RFC 5280
Functions ¶
func ReasonCodeToNum ¶
ReasonCodeToNum converts a string encoded code to a number. 1) "4" -> 4 2) "key compromise" -> 1 3) "keYComPromIse" -> 1
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.