EncryptionKey encryptionKey =
new EncryptionKey(EncryptionType.getTypeByOrdinal(encryptionType), kerberosKey.getEncoded());
CipherTextHandler cipherTextHandler = new CipherTextHandler();
this.encTicketPart = (EncTicketPart) cipherTextHandler.unseal(
EncTicketPart.class, encryptionKey, applicationRequest.getTicket().getEncPart(), KeyUsage.NUMBER2);
} catch (KerberosException e) {
throw new KerberosTokenDecoderException(e);
} catch (IOException e) {
throw new KerberosTokenDecoderException(e);