Home
last modified time | relevance | path

Searched refs:asn1 (Results 1 – 4 of 4) 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/
Dattestation_record_test.cpp80 UniquePtr<uint8_t[]> asn1; in TEST() local
87 build_attestation_record(attest_params, sw_set, hw_set, context, &asn1, &asn1_len)); in TEST()
93 output.write(reinterpret_cast<const char*>(asn1.get()), asn1_len); in TEST()
105 parse_attestation_record(asn1.get(), asn1_len, &attestation_version, in TEST()
137 EXPECT_EQ(KM_ERROR_OK, parse_root_of_trust(asn1.get(), asn1_len, &verified_boot_key, in TEST()
Dwrapped_key_test.cpp68 KeymasterKeyBlob asn1; in TEST() local
80 build_wrapped_key(tk, iv, KM_KEY_FORMAT_RAW, secure_key, tag, authorization_list, &asn1), in TEST()
90 EXPECT_EQ(parse_wrapped_key(asn1, &iv2, &transit_key2, &secure_key2, &tag2, &auth_list, in TEST()