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 | Method and Description |
---|---|
EncryptionKey |
Credentials.getKey() |
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 |
---|---|
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(String principalName,
String passPhrase,
EncryptionType encryptionType) |
Modifier and Type | Method and Description |
---|---|
static Map<EncryptionType,EncryptionKey> |
KerberosKeyFactory.getKerberosKeys(String principalName,
String passPhrase)
Get a map of KerberosKey's for a given principal name and passphrase.
|
static Map<EncryptionType,EncryptionKey> |
KerberosKeyFactory.getKerberosKeys(String principalName,
String passPhrase,
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 Map<EncryptionType,EncryptionKey> |
RandomKeyFactory.getRandomKeys()
Get a map of random keys.
|
static Map<EncryptionType,EncryptionKey> |
RandomKeyFactory.getRandomKeys(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) |
protected abstract byte[] |
EncryptionEngine.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
Des3CbcSha1KdEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
DesCbcCrcEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
protected abstract EncryptedData |
EncryptionEngine.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
Des3CbcSha1KdEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
DesCbcCrcEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
CipherTextHandler.seal(EncryptionKey key,
org.apache.directory.api.asn1.Asn1Object message,
KeyUsage usage)
Performs an encode and an encrypt.
|
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
KeytabEntry.getKey() |
Constructor and Description |
---|
KeytabEntry(String principalName,
int principalType,
KerberosTime timeStamp,
byte keyVersion,
EncryptionKey key)
Creates a new instance of Entry.
|
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
TicketFactory.getServerKey(KerberosPrincipal serverPrincipal,
String serverPassword)
Returns a server key derived from a server principal and server password.
|
Modifier and Type | Method and Description |
---|---|
Map<EncryptionType,EncryptionKey> |
PrincipalStoreEntry.getKeyMap()
Returns the key map.
|
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(KerberosPrincipal clientPrincipal,
KerberosPrincipal serverPrincipal,
EncryptionKey serverKey)
Build the service ticket.
|
Modifier and Type | Method and Description |
---|---|
void |
PrincipalStoreEntryModifier.setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
Sets the key map.
|
Modifier and Type | Method and Description |
---|---|
static Authenticator |
KerberosUtils.verifyAuthHeader(ApReq authHeader,
Ticket ticket,
EncryptionKey serverKey,
long clockSkew,
ReplayCache replayCache,
boolean emptyAddressesAllowed,
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 | 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 | Method and Description |
---|---|
EncryptionKey |
KrbCredInfo.getKey() |
EncryptionKey |
EncTicketPart.getKey() |
EncryptionKey |
EncKdcRepPart.getKey()
Returns the
EncryptionKey . |
Modifier and Type | Method and Description |
---|---|
void |
KrbCredInfo.setKey(EncryptionKey key) |
void |
EncTicketPart.setKey(EncryptionKey key) |
void |
EncKdcRepPart.setKey(EncryptionKey key)
Sets the
EncryptionKey . |
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) |
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.