| Home | Trees | Indices | Help | 
|---|
|  | 
object --+
         |
        AVA
An object representing an AVA (attribute value assertion).
AVA(type, value)
RDN's (Relative Distinguished Name) are composed from AVA's. An RDN is a sequence of AVA's.
An example of an AVA is "CN=www.redhat.com" where CN is the X500 directory abbrevation for "Common Name".
An AVA is composed of two items:
Examples:
The AVA cn=www.redhat.com can be created in any of the follow ways:
ava = nss.AVA('cn', 'www.redhat.com')
ava = nss.AVA(nss.SEC_OID_AVA_COMMON_NAME, 'www.redhat.com')
ava = nss.AVA('2.5.4.3', 'www.redhat.com')
ava = nss.AVA('OID.2.5.4.3', 'www.redhat.com')
| 
 | |||
| 
 | |||
| 
 | |||
| a new object with type S, a subtype of T | 
 | ||
| 
 | |||
| Inherited from  | |||
| 
 | |||
| oid The OID (e.g. | |||
| oid_tag The OID tag enumerated constant (i.e. | |||
| value The value of the AVA as a SecItem | |||
| value_str The value of the AVA as a UTF-8 encoded string | |||
| Inherited from  | |||
| 
 | |||
| 
 
 | 
| 
 
 | 
| 
 
 | 
| 
 | |||
| oidThe OID (e.g. type) of the AVA as a SecItem | 
| oid_tagThe OID tag enumerated constant (i.e. SEC_OID_AVA_*) of the AVA's type | 
| Home | Trees | Indices | Help | 
|---|
| Generated by Epydoc 3.0.1 on Sat Nov 8 09:32:38 2014 | http://epydoc.sourceforge.net |