Package | Description |
---|---|
org.apache.directory.server.changepw |
Provides the entry point to an instance of the
ChangePasswordServer ,
as well as support for configuration. |
org.apache.directory.server.kerberos.kdc |
Provides the entry point to an instance of the
KdcServer
(KDC), as well as classes common to the KDC's two services: the
Authentication Service (AS) and the Ticket-Granting Service (TGS). |
org.apache.directory.server.kerberos.shared | |
org.apache.directory.server.kerberos.shared.crypto.encryption |
Provides support for Kerberos CipherText operations.
|
org.apache.directory.server.kerberos.shared.io.decoder |
Provides the decoders for Kerberos message objects.
|
org.apache.directory.server.kerberos.shared.io.encoder |
Provides the encoders for Kerberos message objects.
|
org.apache.directory.server.kerberos.shared.messages |
Provides base message objects for Kerberos request and
reply messages.
|
org.apache.directory.server.kerberos.shared.messages.value |
Provides value object components of Kerberos messages.
|
org.apache.directory.server.kerberos.shared.store |
Provides the implementation for storing Kerberos principals
and symmetric keys backed by JNDI.
|
Modifier and Type | Method and Description |
---|---|
EncryptionType[] |
ChangePasswordServer.getEncryptionTypes()
Returns the encryption types.
|
Modifier and Type | Method and Description |
---|---|
void |
ChangePasswordServer.setEncryptionTypes(EncryptionType[] encryptionTypes) |
Modifier and Type | Method and Description |
---|---|
EncryptionType |
KdcContext.getEncryptionType()
Returns the encryption type to use for this session.
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionType> |
KdcServer.getEncryptionTypes()
Returns the encryption types.
|
Modifier and Type | Method and Description |
---|---|
void |
KdcContext.setEncryptionType(EncryptionType encryptionType)
Sets the encryption type to use for this session.
|
void |
KdcServer.setEncryptionTypes(EncryptionType[] encryptionTypes)
Initialize the encryptionTypes set
|
Modifier and Type | Method and Description |
---|---|
void |
KdcServer.setEncryptionTypes(Set<EncryptionType> encryptionTypes)
Initialize the encryptionTypes set
|
Modifier and Type | Method and Description |
---|---|
static EncryptionType |
KerberosUtils.getBestEncryptionType(Set<EncryptionType> requestedTypes,
Set<EncryptionType> configuredTypes)
Get the matching encryption type from the configured types, searching
into the requested types.
|
Modifier and Type | Method and Description |
---|---|
static EncryptionType |
KerberosUtils.getBestEncryptionType(Set<EncryptionType> requestedTypes,
Set<EncryptionType> configuredTypes)
Get the matching encryption type from the configured types, searching
into the requested types.
|
static EncryptionType |
KerberosUtils.getBestEncryptionType(Set<EncryptionType> requestedTypes,
Set<EncryptionType> configuredTypes)
Get the matching encryption type from the configured types, searching
into the requested types.
|
static String |
KerberosUtils.getEncryptionTypesString(Set<EncryptionType> encryptionTypes)
Build a list of encryptionTypes
|
Modifier and Type | Method and Description |
---|---|
static EncryptionType |
EncryptionType.getByName(String type)
Get the EncryptionType given a String.
|
EncryptionType |
Des3CbcSha1KdEncryption.getEncryptionType() |
protected abstract EncryptionType |
EncryptionEngine.getEncryptionType() |
EncryptionType |
Aes256CtsSha1Encryption.getEncryptionType() |
EncryptionType |
DesCbcCrcEncryption.getEncryptionType() |
EncryptionType |
Aes128CtsSha1Encryption.getEncryptionType() |
static EncryptionType |
EncryptionType.getTypeByOrdinal(int type)
Returns the encryption type when specified by its ordinal.
|
static EncryptionType |
EncryptionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncryptionType[] |
EncryptionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Collection<EncryptionType> |
EncryptionType.getEncryptionTypes()
Get all the encryption types
|
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 |
---|---|
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,
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(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 |
---|---|
protected static Set<EncryptionType> |
EncryptionTypeDecoder.decode(org.apache.directory.shared.asn1.der.DERSequence sequence)
etype[8] SEQUENCE OF INTEGER, -- EncryptionType,
-- in preference order
|
Modifier and Type | Method and Description |
---|---|
protected static org.apache.directory.shared.asn1.der.DERSequence |
EncryptionTypeEncoder.encode(Set<EncryptionType> eType)
etype[8] SEQUENCE OF INTEGER, -- EncryptionEngine,
-- in preference order
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionType> |
KdcRequest.getEType()
Returns an array of requested
EncryptionType s. |
Modifier and Type | Method and Description |
---|---|
EncryptionType |
EncryptionTypeInfo2Entry.getEncryptionType()
Returns the
EncryptionType . |
EncryptionType |
EncryptionTypeInfoEntry.getEncryptionType()
Returns the
EncryptionType . |
EncryptionType |
EncryptedData.getEType()
Returns the
EncryptionType . |
EncryptionType |
EncryptionKey.getKeyType()
Returns the key type.
|
Modifier and Type | Method and Description |
---|---|
Set<EncryptionType> |
RequestBody.getEType()
Returns the requested
EncryptionType s. |
Modifier and Type | Method and Description |
---|---|
void |
EncryptedData.setEType(EncryptionType eType)
Set the EncryptionType
|
void |
EncryptionKey.setKeyType(EncryptionType keyType)
Set the encryption type
|
Modifier and Type | Method and Description |
---|---|
void |
RequestBodyModifier.setEType(Set<EncryptionType> type)
Sets the requested
EncryptionType s. |
Constructor and Description |
---|
EncryptedData(EncryptionType eType,
byte[] cipher)
Creates a new instance of EncryptedData.
|
EncryptedData(EncryptionType eType,
int kvno,
byte[] cipher)
Creates a new instance of EncryptedData.
|
EncryptionKey(EncryptionType keyType,
byte[] keyValue)
Creates a new instance of EncryptionKey.
|
EncryptionKey(EncryptionType keyType,
byte[] keyValue,
int keyVersion)
Creates a new instance of EncryptionKey.
|
EncryptionTypeInfo2Entry(EncryptionType encryptionType,
String salt,
byte[] s2kparams)
Creates a new instance of
EncryptionTypeInfo2Entry . |
EncryptionTypeInfoEntry(EncryptionType encryptionType,
byte[] salt)
Creates a new instance of EncryptionTypeInfoEntry.
|
Constructor and Description |
---|
RequestBody(KdcOptions kdcOptions,
KerberosPrincipal clientPrincipal,
KerberosPrincipal serverPrincipal,
KerberosTime from,
KerberosTime till,
KerberosTime rtime,
int nonce,
Set<EncryptionType> eType,
HostAddresses addresses,
EncryptedData encAuthorizationData,
Ticket[] additionalTickets)
Creates a new instance of RequestBody.
|
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 |
---|---|
void |
PrincipalStoreEntryModifier.setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
Sets the key map.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.