Home
last modified time | relevance | path

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

/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java69 public AttestationApplicationId(ASN1Encodable asn1Encodable) in AttestationApplicationId() argument
71 if (!(asn1Encodable instanceof ASN1Sequence)) { in AttestationApplicationId()
74 + asn1Encodable.getClass().getName()); in AttestationApplicationId()
77 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 …]
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()
DRootOfTrust.java42 public RootOfTrust(ASN1Encodable asn1Encodable) throws CertificateParsingException { in RootOfTrust() argument
43 if (!(asn1Encodable instanceof ASN1Sequence)) { in RootOfTrust()
45 + asn1Encodable.getClass().getName()); in RootOfTrust()
48 ASN1Sequence sequence = (ASN1Sequence) asn1Encodable; in RootOfTrust()
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.java354 ASN1Encodable asn1Encodable = parseAsn1Encodable(parser); in parseAsn1TaggedObject() local
355 if (asn1Encodable == null || asn1Encodable instanceof ASN1TaggedObject) { in parseAsn1TaggedObject()
356 return (ASN1TaggedObject) asn1Encodable; in parseAsn1TaggedObject()
359 "Expected tagged object, found " + asn1Encodable.getClass().getName()); in parseAsn1TaggedObject()