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 Authenticator |
KerberosUtils.verifyAuthHeader(ApplicationRequest 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 |
RandomKeyFactory.getRandomKey(EncryptionType encryptionType)
Get a new random key for a given
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[] |
Des3CbcSha1KdEncryption.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
protected abstract byte[] |
EncryptionEngine.getDecryptedData(EncryptionKey key,
EncryptedData data,
KeyUsage usage) |
byte[] |
DesCbcCrcEncryption.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 |
DesCbcCrcEncryption.getEncryptedData(EncryptionKey key,
byte[] plainText,
KeyUsage usage) |
EncryptedData |
CipherTextHandler.seal(EncryptionKey key,
Encodable encodable,
KeyUsage usage)
Performs an encode and an encrypt.
|
Encodable |
CipherTextHandler.unseal(Class hint,
EncryptionKey key,
EncryptedData data,
KeyUsage usage)
Perform a decrypt and a decode.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionKey |
EncryptionKeyDecoder.decode(byte[] encodedEncryptionKey)
Decodes a byte array into an
EncryptionKey . |
protected static EncryptionKey |
EncryptionKeyDecoder.decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
EncryptionKey ::= SEQUENCE {
keytype[0] INTEGER,
keyvalue[1] OCTET STRING
}
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
EncryptionKeyEncoder.encode(EncryptionKey key)
Encodes an
EncryptionKey into a byte array. |
protected static org.apache.directory.shared.asn1.der.DERSequence |
EncryptionKeyEncoder.encodeSequence(EncryptionKey key) |
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
KeytabEntry.getKey() |
Constructor and Description |
---|
KeytabEntry(String principalName,
long principalType,
KerberosTime timeStamp,
byte keyVersion,
EncryptionKey key)
Creates a new instance of Entry.
|
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
KdcReply.getKey()
Returns the
EncryptionKey . |
Modifier and Type | Method and Description |
---|---|
void |
KdcReply.setKey(EncryptionKey key)
Sets the
EncryptionKey . |
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
EncKdcRepPart.getKey()
Returns the
EncryptionKey . |
EncryptionKey |
EncTicketPart.getSessionKey()
Returns the session
EncryptionKey . |
EncryptionKey |
EncApRepPart.getSubSessionKey()
Returns the sub-session
EncryptionKey . |
EncryptionKey |
Authenticator.getSubSessionKey()
Returns the sub-session key.
|
Modifier and Type | Method and Description |
---|---|
void |
EncKdcRepPart.setKey(EncryptionKey key)
Sets the
EncryptionKey . |
void |
EncTicketPartModifier.setSessionKey(EncryptionKey key)
Sets the sesson
EncryptionKey . |
void |
AuthenticatorModifier.setSubSessionKey(EncryptionKey sessionKey)
Sets the sub-session
EncryptionKey . |
void |
EncApRepPartModifier.setSubSessionKey(EncryptionKey subSessionKey)
Sets the sub-session
EncryptionKey . |
Constructor and Description |
---|
Authenticator(int versionNumber,
KerberosPrincipal clientPrincipal,
Checksum checksum,
int clientMicroSecond,
KerberosTime clientTime,
EncryptionKey subSessionKey,
int sequenceNumber,
AuthorizationData authorizationData)
Creates a new instance of Authenticator.
|
Authenticator(KerberosPrincipal clientPrincipal,
Checksum checksum,
int clientMicroSecond,
KerberosTime clientTime,
EncryptionKey subSessionKey,
int sequenceNumber,
AuthorizationData authorizationData)
Creates a new instance of Authenticator.
|
EncApRepPart(KerberosTime clientTime,
int cusec,
EncryptionKey subSessionKey,
Integer sequenceNumber)
Creates a new instance of EncApRepPart.
|
EncAsRepPart(EncryptionKey key,
LastRequest lastReq,
int nonce,
KerberosTime keyExpiration,
TicketFlags flags,
KerberosTime authTime,
KerberosTime startTime,
KerberosTime endTime,
KerberosTime renewTill,
KerberosPrincipal serverPrincipal,
HostAddresses caddr)
Creates a new instance of EncAsRepPart.
|
EncKdcRepPart(EncryptionKey key,
LastRequest lastReq,
int nonce,
KerberosTime keyExpiration,
TicketFlags flags,
KerberosTime authtime,
KerberosTime starttime,
KerberosTime endtime,
KerberosTime renewTill,
KerberosPrincipal serverPrincipal,
HostAddresses caddr,
MessageComponentType componentType)
Creates a new instance of EncKdcRepPart.
|
EncTgsRepPart(EncryptionKey key,
LastRequest lastReq,
int nonce,
KerberosTime keyExpiration,
TicketFlags flags,
KerberosTime authtime,
KerberosTime starttime,
KerberosTime endtime,
KerberosTime renewTill,
KerberosPrincipal serverPrincipal,
HostAddresses caddr)
Creates a new instance of EncTgsRepPart.
|
EncTicketPart(TicketFlags flags,
EncryptionKey key,
KerberosPrincipal clientPrincipal,
TransitedEncoding transited,
KerberosTime authtime,
KerberosTime starttime,
KerberosTime endtime,
KerberosTime renewTill,
HostAddresses caddr,
AuthorizationData authorizationData)
Creates a new instance of EncTicketPart.
|
Modifier and Type | Method and Description |
---|---|
EncryptionKey |
KrbCredInfo.getKey()
Returns the
EncryptionKey . |
Constructor and Description |
---|
KrbCredInfo(EncryptionKey key,
KerberosPrincipal clientPrincipal,
TicketFlags flags,
KerberosTime authTime,
KerberosTime startTime,
KerberosTime endTime,
KerberosTime renewTill,
KerberosPrincipal serverPrincipal,
HostAddresses clientAddresses)
Creates a new instance of KrbCredInfo.
|
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.shared.ldap.entry.EntryAttribute 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.
|
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.