public class DesKeyMaker extends AbstractKeyMaker
| Constructor and Description |
|---|
DesKeyMaker(EncryptProvider encProvider) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fanFold(String string,
String salt,
byte[] paddedBytes)
Visible for test
|
static byte[] |
intermediateKey(byte[] fanFoldedKey)
Visible for test
|
byte[] |
random2Key(byte[] randomBits)
Note this isn't hit any test yet, and very probably problematic
|
byte[] |
str2key(String string,
String salt,
byte[] param) |
encProvider, getIterCount, getSaltBytes, makePasswdSaltpublic DesKeyMaker(EncryptProvider encProvider)
public byte[] str2key(String string, String salt, byte[] param) throws KrbException
KrbExceptionpublic static byte[] fanFold(String string, String salt, byte[] paddedBytes)
public static byte[] intermediateKey(byte[] fanFoldedKey)
public byte[] random2Key(byte[] randomBits)
throws KrbException
random2Key in interface KeyMakerrandom2Key in class AbstractKeyMakerKrbExceptionCopyright © 2014–2019 The Apache Software Foundation. All rights reserved.