• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1OID get Any Policy certificate policy
2oid_get_certificate_policies:"551D2000":"Any Policy"
3
4OID get certificate policy invalid oid
5oid_get_certificate_policies:"5533445566":""
6
7OID get certificate policy wrong oid - id-ce-authorityKeyIdentifier
8oid_get_certificate_policies:"551D23":""
9
10OID get Ext Key Usage - id-kp-serverAuth
11oid_get_extended_key_usage:"2B06010505070301":"TLS Web Server Authentication"
12
13OID get Ext Key Usage - id-kp-clientAuth
14oid_get_extended_key_usage:"2B06010505070302":"TLS Web Client Authentication"
15
16OID get Ext Key Usage - id-kp-codeSigning
17oid_get_extended_key_usage:"2B06010505070303":"Code Signing"
18
19OID get Ext Key Usage - id-kp-emailProtection
20oid_get_extended_key_usage:"2B06010505070304":"E-mail Protection"
21
22OID get Ext Key Usage - id-kp-timeStamping
23oid_get_extended_key_usage:"2B06010505070308":"Time Stamping"
24
25OID get Ext Key Usage - id-kp-OCSPSigning
26oid_get_extended_key_usage:"2B06010505070309":"OCSP Signing"
27
28OID get Ext Key Usage - id-kp-wisun-fan-device
29oid_get_extended_key_usage:"2B0601040182E42501":"Wi-SUN Alliance Field Area Network (FAN)"
30
31OID get Ext Key Usage invalid oid
32oid_get_extended_key_usage:"5533445566":""
33
34OID get Ext Key Usage wrong oid - id-ce-authorityKeyIdentifier
35oid_get_extended_key_usage:"551D23":""
36
37OID get x509 extension - id-ce-basicConstraints
38oid_get_x509_extension:"551D13":MBEDTLS_OID_X509_EXT_BASIC_CONSTRAINTS
39
40OID get x509 extension - id-ce-keyUsage
41oid_get_x509_extension:"551D0F":MBEDTLS_OID_X509_EXT_KEY_USAGE
42
43OID get x509 extension - id-ce-extKeyUsage
44oid_get_x509_extension:"551D25":MBEDTLS_OID_X509_EXT_EXTENDED_KEY_USAGE
45
46OID get x509 extension - id-ce-subjectAltName
47oid_get_x509_extension:"551D11":MBEDTLS_OID_X509_EXT_SUBJECT_ALT_NAME
48
49OID get x509 extension - id-netscape-certtype
50oid_get_x509_extension:"6086480186F8420101":MBEDTLS_OID_X509_EXT_NS_CERT_TYPE
51
52OID get x509 extension - id-ce-certificatePolicies
53oid_get_x509_extension:"551D20":MBEDTLS_OID_X509_EXT_CERTIFICATE_POLICIES
54
55OID get x509 extension - invalid oid
56oid_get_x509_extension:"5533445566":0
57
58OID get x509 extension - wrong oid - id-ce
59oid_get_x509_extension:"551D":0
60
61OID hash id - id-md5
62depends_on:MBEDTLS_HAS_ALG_MD5_VIA_LOWLEVEL_OR_PSA
63oid_get_md_alg_id:"2A864886f70d0205":MBEDTLS_MD_MD5
64
65OID hash id - id-sha1
66depends_on:MBEDTLS_HAS_ALG_SHA_1_VIA_LOWLEVEL_OR_PSA
67oid_get_md_alg_id:"2b0e03021a":MBEDTLS_MD_SHA1
68
69OID hash id - id-sha224
70depends_on:MBEDTLS_HAS_ALG_SHA_224_VIA_LOWLEVEL_OR_PSA
71oid_get_md_alg_id:"608648016503040204":MBEDTLS_MD_SHA224
72
73OID hash id - id-sha256
74depends_on:MBEDTLS_HAS_ALG_SHA_256_VIA_LOWLEVEL_OR_PSA
75oid_get_md_alg_id:"608648016503040201":MBEDTLS_MD_SHA256
76
77OID hash id - id-sha384
78depends_on:MBEDTLS_HAS_ALG_SHA_384_VIA_LOWLEVEL_OR_PSA
79oid_get_md_alg_id:"608648016503040202":MBEDTLS_MD_SHA384
80
81OID hash id - id-sha512
82depends_on:MBEDTLS_HAS_ALG_SHA_512_VIA_LOWLEVEL_OR_PSA
83oid_get_md_alg_id:"608648016503040203":MBEDTLS_MD_SHA512
84
85OID hash id - id-ripemd160
86depends_on:MBEDTLS_HAS_ALG_RIPEMD160_VIA_LOWLEVEL_OR_PSA
87oid_get_md_alg_id:"2b24030201":MBEDTLS_MD_RIPEMD160
88
89OID hash id - invalid oid
90oid_get_md_alg_id:"2B864886f70d0204":-1
91
92OID get numeric string - hardware module name
93oid_get_numeric_string:"2B06010505070804":0:"1.3.6.1.5.5.7.8.4"
94
95OID get numeric string - multi-byte subidentifier
96oid_get_numeric_string:"29903C":0:"1.1.2108"
97
98OID get numeric string - second component greater than 39
99oid_get_numeric_string:"81010000863A00":0:"2.49.0.0.826.0"
100
101OID get numeric string - multi-byte first subidentifier
102oid_get_numeric_string:"8837":0:"2.999"
103
104OID get numeric string - second subidentifier not terminated
105oid_get_numeric_string:"0081":MBEDTLS_ERR_ASN1_OUT_OF_DATA:""
106
107OID get numeric string - empty oid buffer
108oid_get_numeric_string:"":MBEDTLS_ERR_ASN1_OUT_OF_DATA:""
109
110OID get numeric string - no final / all bytes have top bit set
111oid_get_numeric_string:"818181":MBEDTLS_ERR_ASN1_OUT_OF_DATA:""
112
113OID get numeric string - 0.39
114oid_get_numeric_string:"27":0:"0.39"
115
116OID get numeric string - 1.0
117oid_get_numeric_string:"28":0:"1.0"
118
119OID get numeric string - 1.39
120oid_get_numeric_string:"4f":0:"1.39"
121
122OID get numeric string - 2.0
123oid_get_numeric_string:"50":0:"2.0"
124
125OID get numeric string - 1 byte first subidentifier beyond 2.39
126oid_get_numeric_string:"7f":0:"2.47"
127
128# Encodes the number 0x0400000000 as a subidentifier which overflows 32-bits
129OID get numeric string - 32-bit overflow
130oid_get_numeric_string:"C080808000":MBEDTLS_ERR_ASN1_INVALID_DATA:""
131
132OID get numeric string - 32-bit overflow, second subidentifier
133oid_get_numeric_string:"2BC080808000":MBEDTLS_ERR_ASN1_INVALID_DATA:""
134
135OID get numeric string - overlong encoding
136oid_get_numeric_string:"8001":MBEDTLS_ERR_ASN1_INVALID_DATA:""
137
138OID get numeric string - overlong encoding, second subidentifier
139oid_get_numeric_string:"2B8001":MBEDTLS_ERR_ASN1_INVALID_DATA:""
140