Home
last modified time | relevance | path

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

/cts/tests/security/src/android/keystore/cts/
DAsn1Utils.java93 ASN1Primitive asn1Primitive = asn1InputStream.readObject(); in getAsn1SequenceFromStream() local
94 if (!(asn1Primitive instanceof ASN1OctetString)) { in getAsn1SequenceFromStream()
96 "Expected octet stream, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
99 ((ASN1OctetString) asn1Primitive).getOctets())) { in getAsn1SequenceFromStream()
100 asn1Primitive = seqInputStream.readObject(); in getAsn1SequenceFromStream()
101 if (!(asn1Primitive instanceof ASN1Sequence)) { in getAsn1SequenceFromStream()
103 "Expected sequence, found " + asn1Primitive.getClass().getName()); in getAsn1SequenceFromStream()
105 return (ASN1Sequence) asn1Primitive; in getAsn1SequenceFromStream()