717718719720721722723724725726727
} out.writePacket(secret); if (trust != null) { out.writePacket(trust); } if (subSigs == null) // is not a sub key { for (int i = 0; i != keySigs.size(); i++)
733734735736737738739740741742743
{ if (ids.get(i) instanceof String) { String id = (String)ids.get(i); out.writePacket(new UserIDPacket(id)); } else { PGPUserAttributeSubpacketVector v = (PGPUserAttributeSubpacketVector)ids.get(i);
739740741742743744745746747748749
} else { PGPUserAttributeSubpacketVector v = (PGPUserAttributeSubpacketVector)ids.get(i); out.writePacket(new UserAttributePacket(v.toSubpacketArray())); } if (idTrusts.get(i) != null) { out.writePacket((ContainedPacket)idTrusts.get(i));
744745746747748749750751752753754
out.writePacket(new UserAttributePacket(v.toSubpacketArray())); } if (idTrusts.get(i) != null) { out.writePacket((ContainedPacket)idTrusts.get(i)); } List sigs = (ArrayList)idSigs.get(i); for (int j = 0; j != sigs.size(); j++)
203204205206207208209210
else { out = new BCPGOutputStream(outStream); } out.writePacket(sigPack); } }