Home
last modified time | relevance | path

Searched refs:asn1 (Results 1 – 7 of 7) sorted by relevance

/system/extras/verity/
DBootSignature.java31 import org.bouncycastle.asn1.ASN1Encodable;
32 import org.bouncycastle.asn1.ASN1EncodableVector;
33 import org.bouncycastle.asn1.ASN1Integer;
34 import org.bouncycastle.asn1.ASN1Object;
35 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
36 import org.bouncycastle.asn1.ASN1OctetString;
37 import org.bouncycastle.asn1.ASN1Primitive;
38 import org.bouncycastle.asn1.ASN1Sequence;
39 import org.bouncycastle.asn1.ASN1InputStream;
40 import org.bouncycastle.asn1.DEROctetString;
[all …]
DUtils.java52 import org.bouncycastle.asn1.ASN1InputStream;
53 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
54 import org.bouncycastle.asn1.pkcs.PrivateKeyInfo;
55 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
56 import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
57 import org.bouncycastle.asn1.x9.X9ObjectIdentifiers;
/system/keymaster/tests/
Dwrapped_key_test.cpp68 KeymasterKeyBlob asn1; in TEST() local
79 build_wrapped_key(tk, iv, KM_KEY_FORMAT_RAW, secure_key, tag, authorization_list, &asn1), in TEST()
89 EXPECT_EQ(parse_wrapped_key(asn1, &iv2, &transit_key2, &secure_key2, &tag2, &auth_list, in TEST()
Dattestation_record_test.cpp104 UniquePtr<uint8_t[]> asn1; in TEST() local
113 build_attestation_record(attest_params, sw_set, hw_set, context, &asn1, &asn1_len)); in TEST()
118 if (output) output.write(reinterpret_cast<const char*>(asn1.get()), asn1_len); in TEST()
130 parse_attestation_record(asn1.get(), asn1_len, &attestation_version, in TEST()
169 EXPECT_EQ(KM_ERROR_OK, parse_root_of_trust(asn1.get(), asn1_len, &verified_boot_key, in TEST()
/system/keymint/ta/src/
Dcert.rs6 use der::asn1::{BitStringRef, OctetStringRef, SetOfVec};
8 asn1::{GeneralizedTime, Null, UIntRef, UtcTime},
239 #[asn1(type = "OCTET STRING")]
241 #[asn1(type = "OCTET STRING")]
910 let mut set = der::asn1::SetOfVec::new();
994 val: der::asn1::OctetStringRef::new(val)?,
1051 val: der::asn1::OctetStringRef::new(app_id.as_slice())?, in fields()
1141 #[asn1(type = "OCTET STRING")]
1145 #[asn1(type = "OCTET STRING")]
Dkeys.rs42 #[asn1(type = "OCTET STRING")]
44 #[asn1(type = "OCTET STRING")]
47 #[asn1(type = "OCTET STRING")]
49 #[asn1(type = "OCTET STRING")]
/system/security/identity/util/src/java/com/android/security/identity/internal/
DUtil.java72 import org.bouncycastle.asn1.ASN1InputStream;
73 import org.bouncycastle.asn1.ASN1OctetString;