Skip to content

Commit

Permalink
add oids for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
pete911 committed Oct 11, 2024
1 parent 5f03d2f commit a4f2935
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions pkg/cert/extensions.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ var extensionsByOid = map[string]func(in []byte) (string, string){
"2.5.29.14": parseSubjectKeyIdentifier,
"2.5.29.15": parseKeyUsage,
//"2.5.29.32": parseCertificatePolicies,
//"2.5.29.": parsePolicyMappings,
//"2.5.29.": parseSubjectAlternativeName,
//"2.5.29.": parseIssuerAlternativeName,
//"2.5.29.": parseSubjectDirectoryAttributes,
//"2.5.29.33": parsePolicyMappings,
//"2.5.29.17": parseSubjectAlternativeName,
//"2.5.29.18": parseIssuerAlternativeName,
//"2.5.29.9": parseSubjectDirectoryAttributes,
"2.5.29.19": parseBasicConstraints,
//"2.5.29.": parseNameConstraints,
//"2.5.29.": parsePolicyConstraints,
//"2.5.29.": parseExtendedKeyUsage,
//"2.5.29.": parseCRLDistributionPoints,
//"2.5.29.": parseInhibitAnyPolicy,
//"2.5.29.": parseFreshestCRL,
//"2.5.29.30": parseNameConstraints,
//"2.5.29.36": parsePolicyConstraints,
//"2.5.29.37": parseExtendedKeyUsage,
//"2.5.29.31": parseCRLDistributionPoints,
//"2.5.29.54": parseInhibitAnyPolicy,
//"2.5.29.46": parseFreshestCRL,
// private internet extensions
//"": parseAuthorityInformationAccess,
//"": parseSubjectInformationAccess,
//"1.3.6.1.5.5.7.1": parseAuthorityInformationAccess,
//"1.3.6.1.5.5.7.11": parseSubjectInformationAccess,
}

func parseSubjectKeyIdentifier(in []byte) (string, string) {
Expand Down

0 comments on commit a4f2935

Please sign in to comment.