mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 11:04:17 +01:00
e82341646a
Add the `MBEDTLS_OID_X509_EXT_CERTIFICATE_POLICIES` to the list of supported x509 extensions, in `mbedtls_oid_get_x509_ext_type()`.
60 lines
2.1 KiB
Plaintext
60 lines
2.1 KiB
Plaintext
OID get Any Policy certificate policy
|
|
oid_get_certificate_policies:"551D2000":"Any Policy"
|
|
|
|
OID get certificate policy invalid oid
|
|
oid_get_certificate_policies:"5533445566":""
|
|
|
|
OID get certificate policy wrong oid - id-ce-authorityKeyIdentifier
|
|
oid_get_certificate_policies:"551D23":""
|
|
|
|
OID get Ext Key Usage - id-kp-serverAuth
|
|
oid_get_extended_key_usage:"2B06010505070301":"TLS Web Server Authentication"
|
|
|
|
OID get Ext Key Usage - id-kp-clientAuth
|
|
oid_get_extended_key_usage:"2B06010505070302":"TLS Web Client Authentication"
|
|
|
|
OID get Ext Key Usage - id-kp-codeSigning
|
|
oid_get_extended_key_usage:"2B06010505070303":"Code Signing"
|
|
|
|
OID get Ext Key Usage - id-kp-emailProtection
|
|
oid_get_extended_key_usage:"2B06010505070304":"E-mail Protection"
|
|
|
|
OID get Ext Key Usage - id-kp-timeStamping
|
|
oid_get_extended_key_usage:"2B06010505070308":"Time Stamping"
|
|
|
|
OID get Ext Key Usage - id-kp-OCSPSigning
|
|
oid_get_extended_key_usage:"2B06010505070309":"OCSP Signing"
|
|
|
|
OID get Ext Key Usage - id-kp-wisun-fan-device
|
|
oid_get_extended_key_usage:"2B0601040182E42501":"Wi-SUN Alliance Field Area Network (FAN)"
|
|
|
|
OID get Ext Key Usage invalid oid
|
|
oid_get_extended_key_usage:"5533445566":""
|
|
|
|
OID get Ext Key Usage wrong oid - id-ce-authorityKeyIdentifier
|
|
oid_get_extended_key_usage:"551D23":""
|
|
|
|
OID get x509 extension - id-ce-basicConstraints
|
|
oid_get_x509_extension:"551D13":MBEDTLS_OID_X509_EXT_BASIC_CONSTRAINTS
|
|
|
|
OID get x509 extension - id-ce-keyUsage
|
|
oid_get_x509_extension:"551D0F":MBEDTLS_OID_X509_EXT_KEY_USAGE
|
|
|
|
OID get x509 extension - id-ce-extKeyUsage
|
|
oid_get_x509_extension:"551D25":MBEDTLS_OID_X509_EXT_EXTENDED_KEY_USAGE
|
|
|
|
OID get x509 extension - id-ce-subjectAltName
|
|
oid_get_x509_extension:"551D11":MBEDTLS_OID_X509_EXT_SUBJECT_ALT_NAME
|
|
|
|
OID get x509 extension - id-netscape-certtype
|
|
oid_get_x509_extension:"6086480186F8420101":MBEDTLS_OID_X509_EXT_NS_CERT_TYPE
|
|
|
|
OID get x509 extension - id-ce-certificatePolicies
|
|
oid_get_x509_extension:"551D20":MBEDTLS_OID_X509_EXT_CERTIFICATE_POLICIES
|
|
|
|
OID get x509 extension - invalid oid
|
|
oid_get_x509_extension:"5533445566":0
|
|
|
|
OID get x509 extension - wrong oid - id-ce
|
|
oid_get_x509_extension:"551D":0
|