パッケージ jcifs.pac
クラス PacMac
- java.lang.Object
-
- jcifs.pac.PacMac
-
public class PacMac extends Object
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 PacMac()
-
メソッドの概要
すべてのメソッド staticメソッド concreteメソッド 修飾子とタイプ メソッド 説明 static byte[]calculateMac(int type, Map<Integer,KerberosKey> keys, byte[] data)static byte[]calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data)static byte[]calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input)static byte[]deriveKeyAES(KerberosKey key, byte[] constant)static byte[]expandNFold(byte[] data, int outlen)
-
-
-
メソッドの詳細
-
calculateMacArcfourHMACMD5
public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException
-
calculateMacHMACAES
public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException
-
deriveKeyAES
public static byte[] deriveKeyAES(KerberosKey key, byte[] constant) throws GeneralSecurityException
-
expandNFold
public static byte[] expandNFold(byte[] data, int outlen)
-
calculateMac
public static byte[] calculateMac(int type, Map<Integer,KerberosKey> keys, byte[] data) throws PACDecodingException- パラメータ:
type-keys-- 戻り値:
- the calculated mac
- 例外:
PACDecodingException
-
-