| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
KpasswdDecode.clientKey |
private EncryptionKey |
KpasswdDecode.sessionKey |
private EncryptionKey |
ServiceTicketRequest.subSessionKey |
private EncryptionKey |
KpasswdDecode.subSessionKey |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
AbstractTicket.getSessionKey() |
EncryptionKey |
ServiceTicketRequest.getSubSessionKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
ServiceTicketRequest.setSubSessionKey(EncryptionKey subSessionKey) |
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
Credentials.key |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
Credentials.getKey() |
private EncryptionKey |
CacheInputStream.readKey(int version) |
| Modifier and Type | Method and Description |
|---|---|
private void |
CacheOutputStream.writeKey(EncryptionKey key,
int version) |
| Constructor and Description |
|---|
Credentials(PrincipalName cname,
PrincipalName sname,
EncryptionKey ekey,
KerberosTime authtime,
KerberosTime starttime,
KerberosTime endtime,
KerberosTime renewTill,
boolean isEncInSKey,
TicketFlags flags,
HostAddresses caddr,
AuthorizationData authData,
Ticket ticket,
Ticket secondTicket) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.Map<EncryptionType,EncryptionKey> |
KeyDerivationInterceptor.generateKeys(java.lang.String principalName,
java.lang.String userPassword)
Generate the keys.
|
| Modifier and Type | Method and Description |
|---|---|
private org.apache.directory.api.ldap.model.entry.Attribute |
KeyDerivationInterceptor.getKeyAttribute(java.util.Map<EncryptionType,EncryptionKey> keys)
Create the KRB5_KEY attribute with all the associated keys.
|
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
AuthenticationContext.clientKey
The client key
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
AuthenticationContext.getClientKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticationContext.setClientKey(EncryptionKey clientKey) |
| Modifier and Type | Method and Description |
|---|---|
static EncryptionKey |
RandomKeyFactory.getRandomKey(EncryptionType encryptionType)
Get a new random key for a given
EncryptionType. |
static EncryptionKey |
KerberosKeyFactory.string2Key(java.lang.String principalName,
java.lang.String passPhrase,
EncryptionType encryptionType) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Map<EncryptionType,EncryptionKey> |
KerberosKeyFactory.getKerberosKeys(java.lang.String principalName,
java.lang.String passPhrase)
Get a map of KerberosKey's for a given principal name and passphrase.
|
static java.util.Map<EncryptionType,EncryptionKey> |
KerberosKeyFactory.getKerberosKeys(java.lang.String principalName,
java.lang.String passPhrase,
java.util.Set<EncryptionType> ciphers)
Get a list of KerberosKey's for a given principal name and passphrase and list of cipher
types to derive keys for.
|
static java.util.Map<EncryptionType,EncryptionKey> |
RandomKeyFactory.getRandomKeys()
Get a map of random keys.
|
static java.util.Map<EncryptionType,EncryptionKey> |
RandomKeyFactory.getRandomKeys(java.util.Set<EncryptionType> ciphers)
Get a map of random keys for a list of cipher types to derive keys for.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
CipherTextHandler.decrypt(EncryptionKey key,
EncryptedData data,
KeyUsage usage)
Decrypt a block of data.
|
EncryptedData |
CipherTextHandler.encrypt(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
byte[] |
Des3CbcSha1KdEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
protected abstract byte[] |
EncryptionEngine.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
NullEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
AesCtsSha1Encryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
ArcFourHmacMd5Encryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
DesCbcCrcEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
DesCbcMd5Encryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
EncryptedData |
Des3CbcSha1KdEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
protected abstract EncryptedData |
EncryptionEngine.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
NullEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
AesCtsSha1Encryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
ArcFourHmacMd5Encryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
DesCbcCrcEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
DesCbcMd5Encryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
private EncryptionEngine |
CipherTextHandler.getEngine(EncryptionKey key) |
EncryptedData |
CipherTextHandler.seal(EncryptionKey key,
org.apache.directory.api.asn1.Asn1Object message,
KeyUsage usage)
Performs an encode and an encrypt.
|
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
KeytabEntry.key |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
KeytabEntry.getKey() |
private EncryptionKey |
KeytabDecoder.getKeyBlock(java.nio.ByteBuffer buffer)
Read off a 16-bit encryption type and symmetric key material.
|
| Modifier and Type | Method and Description |
|---|---|
private java.nio.ByteBuffer |
KeytabEncoder.encodeKeyBlock(EncryptionKey key)
Encode a 16-bit encryption type and symmetric key material.
|
| Constructor and Description |
|---|
KeytabEntry(java.lang.String principalName,
int principalType,
KerberosTime timeStamp,
byte keyVersion,
EncryptionKey key)
Creates a new instance of Entry.
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<EncryptionType,EncryptionKey> |
PrincipalStoreEntryModifier.keyMap |
private java.util.Map<EncryptionType,EncryptionKey> |
PrincipalStoreEntry.keyMap |
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
TicketFactory.getServerKey(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
java.lang.String serverPassword)
Returns a server key derived from a server principal and server password.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<EncryptionType,EncryptionKey> |
PrincipalStoreEntry.getKeyMap()
Returns the key map.
|
java.util.Map<EncryptionType,EncryptionKey> |
PrincipalStoreEntryModifier.reconstituteKeyMap(org.apache.directory.api.ldap.model.entry.Attribute krb5key)
Converts the ASN.1 encoded key set to a map of encryption types to encryption keys.
|
| Modifier and Type | Method and Description |
|---|---|
Ticket |
TicketFactory.getTicket(javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
EncryptionKey serverKey)
Build the service ticket.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PrincipalStoreEntryModifier.setKeyMap(java.util.Map<EncryptionType,EncryptionKey> keyMap)
Sets the key map.
|
| Constructor and Description |
|---|
PrincipalStoreEntry(java.lang.String distinguishedName,
java.lang.String commonName,
java.lang.String userId,
javax.security.auth.kerberos.KerberosPrincipal principal,
int keyVersionNumber,
KerberosTime validStart,
KerberosTime validEnd,
KerberosTime passwordEnd,
int maxLife,
int maxRenew,
int kdcFlags,
java.util.Map<EncryptionType,EncryptionKey> keyMap,
java.lang.String realmName,
SamType samType,
boolean disabled,
boolean lockedOut,
KerberosTime expiration) |
| Modifier and Type | Method and Description |
|---|---|
static Authenticator |
KerberosUtils.verifyAuthHeader(ApReq authHeader,
Ticket ticket,
EncryptionKey serverKey,
long clockSkew,
ReplayCache replayCache,
boolean emptyAddressesAllowed,
java.net.InetAddress clientAddress,
CipherTextHandler lockBox,
KeyUsage authenticatorKeyUsage,
boolean isValidate)
Verifies an AuthHeader using guidelines from RFC 1510 section A.10., "KRB_AP_REQ verification."
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionKey |
KerberosDecoder.decodeEncryptionKey(byte[] data)
Decode an EncryptionKey structure
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractReadEncryptionKey.setEncryptionKey(EncryptionKey encryptionKey,
E container)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoreSubKey.setEncryptionKey(EncryptionKey encryptionKey,
AuthenticatorContainer authenticatorContainer)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoreSubKey.setEncryptionKey(EncryptionKey encryptionKey,
EncApRepPartContainer encApRepPartContainer)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoreKey.setEncryptionKey(EncryptionKey encryptionKey,
EncKdcRepPartContainer encKdcRepPartContainer)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
EncryptionKeyContainer.encryptionKey
holds EncryptionKey
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
EncryptionKeyContainer.getEncryptionKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
EncryptionKeyContainer.setEncryptionKey(EncryptionKey encryptionKey)
Set a EncryptionKey Object into the container
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoreKey.setEncryptionKey(EncryptionKey encryptionKey,
EncTicketPartContainer encTicketPartContainer)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StoreKey.setEncryptionKey(EncryptionKey encryptionKey,
KrbCredInfoContainer krbCredInfoContainer)
set the EncryptionKey on the ASN.1 object of the container
|
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
EncTicketPart.key
the encryption key
|
private EncryptionKey |
EncKdcRepPart.key
The encryption key
|
private EncryptionKey |
KrbCredInfo.key
the encryption key
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
EncTicketPart.getKey() |
EncryptionKey |
EncKdcRepPart.getKey()
Returns the
EncryptionKey. |
EncryptionKey |
KrbCredInfo.getKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
EncTicketPart.setKey(EncryptionKey key) |
void |
EncKdcRepPart.setKey(EncryptionKey key)
Sets the
EncryptionKey. |
void |
KrbCredInfo.setKey(EncryptionKey key) |
| Modifier and Type | Field and Description |
|---|---|
private EncryptionKey |
EncApRepPart.subkey
Encryption key
|
private EncryptionKey |
Authenticator.subKey
The sub-session key
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionKey |
EncApRepPart.getSubkey() |
EncryptionKey |
Authenticator.getSubKey() |
| Modifier and Type | Method and Description |
|---|---|
void |
EncApRepPart.setSubkey(EncryptionKey subkey) |
void |
Authenticator.setSubKey(EncryptionKey subKey) |