Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseNameAndValue ¶
Types ¶
type Attr ¶
type Attr struct { // CN is the common name of the attribute. CN string `json:"cn"` // LDAPName is the LDAP display name of the attribute. LDAPName string `json:"ldap_name"` // AttributeID is the ASN.1 object identifier of the attribute. AttributeID asn1.ObjectIdentifier `json:"attribute_id"` // The SystemID is the GUID of the attribute. SystemID *uuid.UUID `json:"system_id"` // Syntax is the syntax of the attribute. Syntax Syntax `json:"syntax"` // Description is the description of the attribute. Description string `json:"description"` }
Attr is an Active Directory attribute.
func LookupByOID ¶
func LookupByOID(oid asn1.ObjectIdentifier) (Attr, bool)
type Enumeration ¶
type Enumeration struct{}
func (Enumeration) Size ¶
func (Enumeration) Size() int
type GeneralizedTime ¶
type GeneralizedTime struct{}
func (GeneralizedTime) Size ¶
func (GeneralizedTime) Size() int
type ObjectIdentifier ¶
type ObjectIdentifier struct{}
func (ObjectIdentifier) Convert ¶
func (ObjectIdentifier) Convert(b []byte, opts ...any) (any, error)
func (ObjectIdentifier) Size ¶
func (ObjectIdentifier) Size() int
type SecurityDescriptor ¶ added in v1.0.3
type SecurityDescriptor struct{}
func (SecurityDescriptor) Convert ¶ added in v1.0.3
func (SecurityDescriptor) Convert(b []byte, _ ...any) (any, error)
func (SecurityDescriptor) Size ¶ added in v1.0.3
func (SecurityDescriptor) Size() int
type StringUnicode ¶
type StringUnicode struct{}
func (StringUnicode) Size ¶
func (StringUnicode) Size() int
Click to show internal directories.
Click to hide internal directories.