Home
last modified time | relevance | path

Searched refs:asn1Encodable (Results 1 – 5 of 5) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DAttestationApplicationId.java68 public AttestationApplicationId(ASN1Encodable asn1Encodable) in AttestationApplicationId() argument
70 if (!(asn1Encodable instanceof ASN1Sequence)) { in AttestationApplicationId()
73 + asn1Encodable.getClass().getName()); in AttestationApplicationId()
76 ASN1Sequence sequence = (ASN1Sequence) asn1Encodable; in AttestationApplicationId()
138 private List<AttestationPackageInfo> parseAttestationPackageInfos(ASN1Encodable asn1Encodable) in parseAttestationPackageInfos() argument
140 if (!(asn1Encodable instanceof ASN1Set)) { in parseAttestationPackageInfos()
143 + asn1Encodable.getClass().getName()); in parseAttestationPackageInfos()
146 ASN1Set set = (ASN1Set) asn1Encodable; in parseAttestationPackageInfos()
154 private List<byte[]> parseSignatures(ASN1Encodable asn1Encodable) in parseSignatures() argument
156 if (!(asn1Encodable instanceof ASN1Set)) { in parseSignatures()
[all …]
DRootOfTrust.java40 public RootOfTrust(ASN1Encodable asn1Encodable) throws CertificateParsingException { in RootOfTrust() argument
41 if (!(asn1Encodable instanceof ASN1Sequence)) { in RootOfTrust()
43 + asn1Encodable.getClass().getName()); in RootOfTrust()
46 ASN1Sequence sequence = (ASN1Sequence) asn1Encodable; in RootOfTrust()
DAttestationPackageInfo.java36 public AttestationPackageInfo(ASN1Encodable asn1Encodable) throws CertificateParsingException { in AttestationPackageInfo() argument
37 if (!(asn1Encodable instanceof ASN1Sequence)) { in AttestationPackageInfo()
40 + asn1Encodable.getClass().getName()); in AttestationPackageInfo()
43 ASN1Sequence sequence = (ASN1Sequence) asn1Encodable; in AttestationPackageInfo()
DAsn1Utils.java64 public static byte[] getByteArrayFromAsn1(ASN1Encodable asn1Encodable) in getByteArrayFromAsn1() argument
66 if (asn1Encodable == null || !(asn1Encodable instanceof DEROctetString)) { in getByteArrayFromAsn1()
69 ASN1OctetString derOctectString = (ASN1OctetString) asn1Encodable; in getByteArrayFromAsn1()
DAuthorizationList.java379 ASN1Encodable asn1Encodable = parseAsn1Encodable(parser); in parseAsn1TaggedObject() local
380 if (asn1Encodable == null || asn1Encodable instanceof ASN1TaggedObject) { in parseAsn1TaggedObject()
381 return (ASN1TaggedObject) asn1Encodable; in parseAsn1TaggedObject()
384 "Expected tagged object, found " + asn1Encodable.getClass().getName()); in parseAsn1TaggedObject()