Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AttrOID is the ASN.1 object identifier for an attribute extension in an // X509 certificate AttrOID = asn1.ObjectIdentifier{1, 2, 3, 4, 5, 6, 7, 8, 1} // AttrOIDString is the string version of AttrOID AttrOIDString = "1.2.3.4.5.6.7.8.1" )
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute interface { // GetName returns the name of the attribute GetName() string // GetValue returns the value of the attribute GetValue() string }
Attribute is a name/value pair
type AttributeRequest ¶
type AttributeRequest interface { // GetName returns the name of an attribute GetName() string // IsRequired returns true if the attribute is required IsRequired() bool }
AttributeRequest is a request for an attribute
type Attributes ¶
Attributes contains attribute names and values
Click to show internal directories.
Click to hide internal directories.