Modifier and Type | Field and Description |
---|---|
private static final boolean | |
private static int[] | |
private static int[] |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public abstract int | |
public abstract int | |
public abstract int | |
public abstract int | |
public int | |
public abstract byte[] | |
public abstract byte[] | |
public byte[] | |
public abstract byte[] | |
public abstract byte[] | |
public abstract int | |
public static int[] | |
public static int[] | getDefaults(String configName)
Retrieves the default etypes from the configuration file, or if that's not available, return the built-in list of default etypes. |
public static int[] | getDefaults(String configName, EncryptionKey[] keys)
Retrieve the default etypes from the configuration file for those etypes for which there are corresponding keys. |
public static EType | |
public static void | |
public static boolean | Returns: true if "newer"the encryption type eTypeConst)https://tools.ietf.org/html/rfc4120#section-3.1.3: A "newer" enctype is any enctype first officially specified concurrently with or subsequent to the issue of this RFC. |
public static boolean | |
public static boolean | |
public abstract int | |
public abstract int | |
public abstract int | |
public int | |
public int | |
public int | |
public int | |
public static String |
DEBUG | back to summary |
---|---|
private static final boolean DEBUG |
defaultETypes | back to summary |
---|---|
private static int[] defaultETypes |
supportedETypes | back to summary |
---|---|
private static int[] supportedETypes |
EType | back to summary |
---|---|
public EType() |
blockSize | back to summary |
---|---|
public abstract int blockSize() |
checksumSize | back to summary |
---|---|
public abstract int checksumSize() |
checksumType | back to summary |
---|---|
public abstract int checksumType() |
confounderSize | back to summary |
---|---|
public abstract int confounderSize() |
dataSize | back to summary |
---|---|
public int dataSize(byte[] data) |
decrypt | back to summary |
---|---|
public abstract byte[] decrypt(byte[] cipher, byte[] key, int usage) throws KrbApErrException, KrbCryptoException |
decrypt | back to summary |
---|---|
public abstract byte[] decrypt(byte[] cipher, byte[] key, byte[] ivec, int usage) throws KrbApErrException, KrbCryptoException |
decryptedData | back to summary |
---|---|
public byte[] decryptedData(byte[] data) |
encrypt | back to summary |
---|---|
public abstract byte[] encrypt(byte[] data, byte[] key, int usage) throws KrbCryptoException |
encrypt | back to summary |
---|---|
public abstract byte[] encrypt(byte[] data, byte[] key, byte[] ivec, int usage) throws KrbCryptoException |
eType | back to summary |
---|---|
public abstract int eType() |
getBuiltInDefaults | back to summary |
---|---|
public static int[] getBuiltInDefaults() |
getDefaults | back to summary |
---|---|
public static int[] getDefaults(String configName) throws KrbException Retrieves the default etypes from the configuration file, or if that's not available, return the built-in list of default etypes. This result is always non-empty. If no etypes are found, an exception is thrown. |
getDefaults | back to summary |
---|---|
public static int[] getDefaults(String configName, EncryptionKey[] keys) throws KrbException Retrieve the default etypes from the configuration file for those etypes for which there are corresponding keys. Used in scenario we have some keys from a keytab with etypes different from those named in configName. Then, in order to decrypt an AS-REP, we should only ask for etypes for which we have keys. |
getInstance | back to summary |
---|---|
public static EType getInstance(int eTypeConst) throws KdcErrException |
initStatic | back to summary |
---|---|
public static void initStatic() |
isNewer | back to summary |
---|---|
public static boolean isNewer(int eTypeConst) https://tools.ietf.org/html/rfc4120#section-3.1.3: A "newer" enctype is any enctype first officially specified concurrently with or subsequent to the issue of this RFC. The enctypes DES, 3DES, or RC4 and any defined in [RFC1510] are not "newer" enctypes.
|
isSupported | back to summary |
---|---|
public static boolean isSupported(int eTypeConst, int[] config) |
isSupported | back to summary |
---|---|
public static boolean isSupported(int eTypeConst) |
keySize | back to summary |
---|---|
public abstract int keySize() |
keyType | back to summary |
---|---|
public abstract int keyType() |
minimumPadSize | back to summary |
---|---|
public abstract int minimumPadSize() |
padSize | back to summary |
---|---|
public int padSize(byte[] data) |
startOfChecksum | back to summary |
---|---|
public int startOfChecksum() |
startOfData | back to summary |
---|---|
public int startOfData() |
startOfPad | back to summary |
---|---|
public int startOfPad(byte[] data) |
toString | back to summary |
---|---|
public static String toString(int type) |