Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalSANS ¶ added in v0.6.0
MarshalSANS creates a Subject Alternative Name extension with an OtherName sequence. RFC 5280, 4.2.1.6:
SubjectAltName ::= GeneralNames GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName GeneralName ::= CHOICE {
otherName [0] OtherName, ... }
func PrincipalFromIDToken ¶
Types ¶
type OtherName ¶ added in v0.6.0
type OtherName struct { ID asn1.ObjectIdentifier Value string `asn1:"utf8,explicit,tag:0"` }
OtherName describes a name related to a certificate which is not in one of the standard name formats. RFC 5280, 4.2.1.6:
OtherName ::= SEQUENCE { type-id OBJECT IDENTIFIER, value [0] EXPLICIT ANY DEFINED BY type-id }
OtherName for Fulcio-issued certificates only supports UTF-8 strings as values.
Click to show internal directories.
Click to hide internal directories.