Documentation ¶
Index ¶
- Variables
- type Attribute
- type AttributeRequest
- type Attributes
- type Mgr
- func (mgr *Mgr) AddAttributesToCert(attrs *Attributes, cert *x509.Certificate) error
- func (mgr *Mgr) GetAttributesFromCert(cert *x509.Certificate) (*Attributes, error)
- func (mgr *Mgr) GetAttributesFromIdemix(creator []byte) (*Attributes, error)
- func (mgr *Mgr) ProcessAttributeRequests(requests []AttributeRequest, attributes []Attribute) (*Attributes, error)
- func (mgr *Mgr) ProcessAttributeRequestsForCert(requests []AttributeRequest, attributes []Attribute, cert *x509.Certificate) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AttrOID = asn1.ObjectIdentifier{1, 2, 3, 4, 5, 6, 7, 8, 1} AttrOIDString = "1.2.3.4.5.6.7.8.1" )
Functions ¶
This section is empty.
Types ¶
type AttributeRequest ¶
type Attributes ¶
func (*Attributes) Contains ¶
func (a *Attributes) Contains(name string) bool
func (*Attributes) Names ¶
func (a *Attributes) Names() []string
func (*Attributes) True ¶
func (a *Attributes) True(name string) error
type Mgr ¶
type Mgr struct{}
func (*Mgr) AddAttributesToCert ¶
func (mgr *Mgr) AddAttributesToCert(attrs *Attributes, cert *x509.Certificate) error
func (*Mgr) GetAttributesFromCert ¶
func (mgr *Mgr) GetAttributesFromCert(cert *x509.Certificate) (*Attributes, error)
func (*Mgr) GetAttributesFromIdemix ¶
func (mgr *Mgr) GetAttributesFromIdemix(creator []byte) (*Attributes, error)
func (*Mgr) ProcessAttributeRequests ¶
func (mgr *Mgr) ProcessAttributeRequests(requests []AttributeRequest, attributes []Attribute) (*Attributes, error)
func (*Mgr) ProcessAttributeRequestsForCert ¶
func (mgr *Mgr) ProcessAttributeRequestsForCert(requests []AttributeRequest, attributes []Attribute, cert *x509.Certificate) error
Click to show internal directories.
Click to hide internal directories.