Skip to content

Commit

Permalink
use generic sequence for extension oid
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoandredinis committed Oct 28, 2024
1 parent ed50a02 commit 00681b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/tlsca/ca.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,10 @@ var (
// the list of allowed GCP service accounts into a certificate.
GCPServiceAccountsASN1ExtensionOID = asn1.ObjectIdentifier{1, 3, 9999, 1, 19}

// UserTypeASN1ExtensionOID is an extension that encodes the user type.
// Its value is either local or sso.
UserTypeASN1ExtensionOID = asn1.ObjectIdentifier{1, 3, 9999, 1, 20}

// DatabaseServiceNameASN1ExtensionOID is an extension ID used when encoding/decoding
// database service name into certificates.
DatabaseServiceNameASN1ExtensionOID = asn1.ObjectIdentifier{1, 3, 9999, 2, 1}
Expand Down Expand Up @@ -538,10 +542,6 @@ var (
// BotInstanceASN1ExtensionOID is an extension that encodes a unique bot
// instance identifier into a certificate.
BotInstanceASN1ExtensionOID = asn1.ObjectIdentifier{1, 3, 9999, 2, 20}

// UserTypeASN1ExtensionOID is an extension that encodes the user type.
// Its value is either local or sso.
UserTypeASN1ExtensionOID = asn1.ObjectIdentifier{1, 3, 9999, 2, 21}
)

// Device Trust OIDs.
Expand Down

0 comments on commit 00681b9

Please sign in to comment.