private static List<EncryptionType> getEtypes2(byte[] data) throws IOException { EtypeInfo2 info2 = new EtypeInfo2(); info2.decode(data); List<EncryptionType> results = new ArrayList<>(); for (EtypeInfo2Entry entry : info2.getElements()) { results.add(entry.getEtype()); } return results; } }
boolean isNewEtype = true; EtypeInfo2 eTypeInfo2 = new EtypeInfo2(); eTypeInfo2.add(etypeInfo2Entry);
EtypeInfo2 etypeInfo2 = KrbCodec.decode(paDataEntry.getPaDataValue(), EtypeInfo2.class); List<EtypeInfo2Entry> info2Entries = etypeInfo2.getElements(); for (EtypeInfo2Entry info2Entry : info2Entries) { encryptionTypes.add(info2Entry.getEtype());
boolean isNewEtype = true; EtypeInfo2 eTypeInfo2 = new EtypeInfo2(); eTypeInfo2.add(etypeInfo2Entry);
EtypeInfo2 etypeInfo2 = KrbCodec.decode(paDataEntry.getPaDataValue(), EtypeInfo2.class); List<EtypeInfo2Entry> info2Entries = etypeInfo2.getElements(); for (EtypeInfo2Entry info2Entry : info2Entries) { encryptionTypes.add(info2Entry.getEtype());
private static List<EncryptionType> getEtypes2(byte[] data) throws IOException { EtypeInfo2 info2 = new EtypeInfo2(); info2.decode(data); List<EncryptionType> results = new ArrayList<>(); for (EtypeInfo2Entry entry : info2.getElements()) { results.add(entry.getEtype()); } return results; } }