Home
last modified time | relevance | path

Searched refs:_ASN1Type (Results 1 – 3 of 3) sorted by relevance

/external/python/cryptography/src/cryptography/x509/
Dname.py15 class _ASN1Type(Enum): class
28 _ASN1_TYPE_TO_ENUM = dict((i.value, i) for i in _ASN1Type)
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,
106 _type = _NAMEOID_DEFAULT_TYPE.get(oid, _ASN1Type.UTF8String)
108 if not isinstance(_type, _ASN1Type):
/external/python/cryptography/tests/x509/
Dtest_x509.py30 from cryptography.x509.name import _ASN1Type
1544 _ASN1Type.PrintableString),
1547 NameOID.COMMON_NAME, u'cryptography.io', _ASN1Type.IA5String),
1565 )[0]._type == _ASN1Type.PrintableString
1568 )[0]._type == _ASN1Type.PrintableString
1571 )[0]._type == _ASN1Type.UTF8String
3843 (NameOID.COMMON_NAME, _ASN1Type.UTF8String),
3844 (NameOID.COUNTRY_NAME, _ASN1Type.PrintableString),
3845 (NameOID.LOCALITY_NAME, _ASN1Type.UTF8String),
3846 (NameOID.STATE_OR_PROVINCE_NAME, _ASN1Type.UTF8String),
[all …]
/external/python/cryptography/src/cryptography/hazmat/backends/openssl/
Dencode_asn1.py17 from cryptography.x509.name import _ASN1Type
122 if attribute._type is _ASN1Type.BMPString: