Searched refs:NameOID (Results 1 – 11 of 11) sorted by relevance
/external/python/cryptography/src/cryptography/x509/ |
D | oid.py | 52 class NameOID(object): class 142 NameOID.COMMON_NAME: "commonName", 143 NameOID.COUNTRY_NAME: "countryName", 144 NameOID.LOCALITY_NAME: "localityName", 145 NameOID.STATE_OR_PROVINCE_NAME: "stateOrProvinceName", 146 NameOID.STREET_ADDRESS: "streetAddress", 147 NameOID.ORGANIZATION_NAME: "organizationName", 148 NameOID.ORGANIZATIONAL_UNIT_NAME: "organizationalUnitName", 149 NameOID.SERIAL_NUMBER: "serialNumber", 150 NameOID.SURNAME: "surname", [all …]
|
D | __init__.py | 40 CertificatePoliciesOID, ExtendedKeyUsageOID, ExtensionOID, NameOID, 80 OID_COMMON_NAME = NameOID.COMMON_NAME 81 OID_COUNTRY_NAME = NameOID.COUNTRY_NAME 82 OID_DOMAIN_COMPONENT = NameOID.DOMAIN_COMPONENT 83 OID_DN_QUALIFIER = NameOID.DN_QUALIFIER 84 OID_EMAIL_ADDRESS = NameOID.EMAIL_ADDRESS 85 OID_GENERATION_QUALIFIER = NameOID.GENERATION_QUALIFIER 86 OID_GIVEN_NAME = NameOID.GIVEN_NAME 87 OID_LOCALITY_NAME = NameOID.LOCALITY_NAME 88 OID_ORGANIZATIONAL_UNIT_NAME = NameOID.ORGANIZATIONAL_UNIT_NAME [all …]
|
D | name.py | 12 from cryptography.x509.oid import NameOID, ObjectIdentifier 31 NameOID.COUNTRY_NAME: _ASN1Type.PrintableString, 32 NameOID.JURISDICTION_COUNTRY_NAME: _ASN1Type.PrintableString, 33 NameOID.SERIAL_NUMBER: _ASN1Type.PrintableString, 34 NameOID.DN_QUALIFIER: _ASN1Type.PrintableString, 35 NameOID.EMAIL_ADDRESS: _ASN1Type.IA5String, 36 NameOID.DOMAIN_COMPONENT: _ASN1Type.IA5String, 42 NameOID.COMMON_NAME: 'CN', 43 NameOID.LOCALITY_NAME: 'L', 44 NameOID.STATE_OR_PROVINCE_NAME: 'ST', [all …]
|
/external/python/cryptography/tests/x509/ |
D | test_x509.py | 33 NameOID, SignatureAlgorithmOID 558 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") 713 x509.NameAttribute(NameOID.COUNTRY_NAME, u'US'), 715 NameOID.ORGANIZATION_NAME, u'Test Certificates 2011' 717 x509.NameAttribute(NameOID.COMMON_NAME, u'Good CA') 719 assert issuer.get_attributes_for_oid(NameOID.COMMON_NAME) == [ 720 x509.NameAttribute(NameOID.COMMON_NAME, u'Good CA') 736 x509.NameAttribute(NameOID.COUNTRY_NAME, u'US'), 737 x509.NameAttribute(NameOID.COUNTRY_NAME, u'CA'), 738 x509.NameAttribute(NameOID.STATE_OR_PROVINCE_NAME, u'Texas'), [all …]
|
D | test_x509_crlbuilder.py | 19 from cryptography.x509.oid import AuthorityInformationAccessOID, NameOID 35 x509.Name([x509.NameAttribute(NameOID.COUNTRY_NAME, u'US')]) 39 x509.Name([x509.NameAttribute(NameOID.COUNTRY_NAME, u'US')]) 53 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") 88 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") 170 x509.Name([x509.NameAttribute(NameOID.COUNTRY_NAME, u'US')]) 183 x509.Name([x509.NameAttribute(NameOID.COUNTRY_NAME, u'US')]) 199 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") 238 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") 267 x509.NameAttribute(NameOID.COMMON_NAME, u"cryptography.io CA") [all …]
|
D | test_x509_ext.py | 26 NameOID, ObjectIdentifier 36 [x509.NameAttribute(NameOID.COMMON_NAME, u'example.org')]) 1123 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1131 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1150 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1154 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1161 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1164 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'aCN')]) 1179 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'myCN')]) 1718 name = x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u'value1')]) [all …]
|
D | test_ocsp.py | 53 x509.NameAttribute(x509.NameOID.COUNTRY_NAME, u'US'), 54 x509.NameAttribute(x509.NameOID.COMMON_NAME, u'Cryptography CA'),
|
/external/python/cryptography/docs/x509/ |
D | tutorial.rst | 60 >>> from cryptography.x509.oid import NameOID 65 ... x509.NameAttribute(NameOID.COUNTRY_NAME, u"US"), 66 ... x509.NameAttribute(NameOID.STATE_OR_PROVINCE_NAME, u"CA"), 67 ... x509.NameAttribute(NameOID.LOCALITY_NAME, u"San Francisco"), 68 ... x509.NameAttribute(NameOID.ORGANIZATION_NAME, u"My Company"), 69 ... x509.NameAttribute(NameOID.COMMON_NAME, u"mysite.com"), 125 ... x509.NameAttribute(NameOID.COUNTRY_NAME, u"US"), 126 ... x509.NameAttribute(NameOID.STATE_OR_PROVINCE_NAME, u"CA"), 127 ... x509.NameAttribute(NameOID.LOCALITY_NAME, u"San Francisco"), 128 ... x509.NameAttribute(NameOID.ORGANIZATION_NAME, u"My Company"), [all …]
|
D | reference.rst | 674 >>> from cryptography.x509.oid import NameOID 685 ... x509.NameAttribute(NameOID.COMMON_NAME, u'cryptography.io'), 688 ... x509.NameAttribute(NameOID.COMMON_NAME, u'cryptography.io'), 924 >>> from cryptography.x509.oid import NameOID 934 ... x509.NameAttribute(NameOID.COMMON_NAME, u'cryptography.io CA'), 1131 >>> from cryptography.x509.oid import NameOID 1139 ... x509.NameAttribute(NameOID.COMMON_NAME, u'cryptography.io'), 1236 >>> cert.subject.get_attributes_for_oid(NameOID.COMMON_NAME) 2635 .. class:: NameOID
|
/external/python/pyopenssl/tests/ |
D | test_crypto.py | 3546 x509.NameAttribute(x509.NameOID.COUNTRY_NAME, u"US"), 3547 x509.NameAttribute(x509.NameOID.STATE_OR_PROVINCE_NAME, u"IL"), 3548 x509.NameAttribute(x509.NameOID.LOCALITY_NAME, u"Chicago"), 3549 x509.NameAttribute(x509.NameOID.ORGANIZATION_NAME, u"Testing"), 3551 x509.NameOID.COMMON_NAME, u"Testing Root CA" 3573 x509.NameAttribute(x509.NameOID.COUNTRY_NAME, u"US"), 3574 x509.NameAttribute(x509.NameOID.STATE_OR_PROVINCE_NAME, u"IL"), 3575 x509.NameAttribute(x509.NameOID.LOCALITY_NAME, u"Chicago"), 3576 x509.NameAttribute(x509.NameOID.ORGANIZATION_NAME, u"Testing"), 3578 x509.NameOID.COMMON_NAME, u"Testing Root CA"
|
D | test_ssl.py | 42 from cryptography.x509.oid import NameOID 441 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u"pyopenssl.org")]) 444 x509.Name([x509.NameAttribute(NameOID.COMMON_NAME, u"pyopenssl.org")])
|