Lines Matching refs:asn1Object
35 asn1Object, rest = der_decode(substrate, asn1Spec=self.asn1Spec)
37 assert asn1Object.prettyPrint()
38 assert der_encode(asn1Object) == substrate
40 assert asn1Object['algorithm'] == rfc5990.id_rsa_kem
41 rsa_kem_p, rest = der_decode(asn1Object['parameters'],
45 assert der_encode(rsa_kem_p) == asn1Object['parameters']
64 asn1Object, rest = der_decode(substrate,
68 assert asn1Object.prettyPrint()
69 assert der_encode(asn1Object) == substrate
71 assert asn1Object['algorithm'] == rfc5990.id_rsa_kem
72 assert asn1Object['parameters']['kem']['algorithm'] == rfc5990.id_kem_rsa
73 assert asn1Object['parameters']['kem']['parameters']['keyLength'] == 16