• Home
  • Raw
  • Download

Lines Matching refs:asn1Object

61         asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
63 assert asn1Object.prettyPrint()
64 assert der_encode(asn1Object) == substrate
66 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
69 … spki_pk = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['subjectPublicKey'].asOctets()
76 … assert asn1Object['tbsCertificate']['signature']['algorithm'] == rfc3279.sha1WithRSAEncryption
77 assert asn1Object['signatureAlgorithm']['algorithm'] == rfc3279.sha1WithRSAEncryption
81 asn1Object, rest = der_decode(substrate,
85 assert asn1Object.prettyPrint()
86 assert der_encode(asn1Object) == substrate
88 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
122 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
124 assert asn1Object.prettyPrint()
125 assert der_encode(asn1Object) == substrate
127 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
140 asn1Object, rest = der_decode(substrate,
144 assert asn1Object.prettyPrint()
145 assert der_encode(asn1Object) == substrate
147 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
181 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
183 assert asn1Object.prettyPrint()
184 assert der_encode(asn1Object) == substrate
186 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
197 sig_value, rest = der_decode(asn1Object['signature'].asOctets(),
201 assert der_encode(sig_value) == asn1Object['signature'].asOctets()
207 asn1Object, rest = der_decode(substrate,
211 assert asn1Object.prettyPrint()
212 assert der_encode(asn1Object) == substrate
214 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
244 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
246 assert asn1Object.prettyPrint()
247 assert der_encode(asn1Object) == substrate
249 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
259 assert asn1Object['tbsCertificate']['signature']['algorithm'] == rfc3279.id_dsa_with_sha1
260 assert asn1Object['signatureAlgorithm']['algorithm'] == rfc3279.id_dsa_with_sha1
262 sig_value, rest = der_decode(asn1Object['signature'].asOctets(),
266 assert der_encode(sig_value) == asn1Object['signature'].asOctets()
272 asn1Object, rest = der_decode(substrate,
276 assert asn1Object.prettyPrint()
277 assert der_encode(asn1Object) == substrate
279 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
283 assert asn1Object['tbsCertificate']['signature']['algorithm'] == rfc3279.id_dsa_with_sha1
284 assert asn1Object['signatureAlgorithm']['algorithm'] == rfc3279.id_dsa_with_sha1
322 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
324 assert asn1Object.prettyPrint()
325 assert der_encode(asn1Object) == substrate
327 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']
340 asn1Object, rest = der_decode(substrate,
344 assert asn1Object.prettyPrint()
345 assert der_encode(asn1Object) == substrate
347 spki_a = asn1Object['tbsCertificate']['subjectPublicKeyInfo']['algorithm']