(DERTags.CONSTRUCTED | DERTags.APPLICATION)) {
throw new IOException("Malformed NegTokenInit.");
}
tokenStream = new ByteArrayInputStream(constructed.getData());
der = new DERInputStream(tokenStream);
DERObjectIdentifier spnego = (DERObjectIdentifier) der.readObject();
ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
Enumeration fields = sequence.getObjects();
while (fields.hasMoreElements()) {
tagged = (ASN1TaggedObject) fields.nextElement();