| Package | Description |
|---|---|
| org.apache.directory.server.kerberos.shared.crypto.encryption |
Provides support for Kerberos CipherText operations.
|
| org.apache.directory.server.kerberos.shared.store |
Provides the implementation for storing Kerberos principals
and symmetric keys backed by JNDI.
|
| org.apache.directory.shared.kerberos | |
| org.apache.directory.shared.kerberos.codec.types | |
| org.apache.directory.shared.kerberos.components |
| Modifier and Type | Field and Description |
|---|---|
static Map<EncryptionType,String> |
KerberosKeyFactory.DEFAULT_CIPHERS
A map of default encryption types mapped to cipher names.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract EncryptionType |
EncryptionEngine.getEncryptionType() |
EncryptionType |
DesCbcCrcEncryption.getEncryptionType() |
EncryptionType |
Des3CbcSha1KdEncryption.getEncryptionType() |
EncryptionType |
Aes256CtsSha1Encryption.getEncryptionType() |
EncryptionType |
Aes128CtsSha1Encryption.getEncryptionType() |
| 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 |
|---|---|
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,
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 |
|---|---|
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 |
|---|---|
void |
PrincipalStoreEntryModifier.setKeyMap(Map<EncryptionType,EncryptionKey> keyMap)
Sets the key map.
|
| 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 Set<EncryptionType> |
KerberosUtils.orderEtypesByStrength(Set<EncryptionType> etypes)
Order a list of EncryptionType in a decreasing strength order
|
| Modifier and Type | Method and Description |
|---|---|
static String |
KerberosUtils.getAlgoNameFromEncType(EncryptionType encType) |
static boolean |
KerberosUtils.isNewEncryptionType(EncryptionType eType)
checks if the given encryption type is *new* (ref sec#3.1.3 of rfc4120)
|
| 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
|
static Set<EncryptionType> |
KerberosUtils.orderEtypesByStrength(Set<EncryptionType> etypes)
Order a list of EncryptionType in a decreasing strength order
|
| Modifier and Type | Method and Description |
|---|---|
static EncryptionType |
EncryptionType.getByName(String type)
Get the EncryptionType given a String.
|
static EncryptionType |
EncryptionType.getTypeByValue(int type)
Returns the encryption type when specified by its value.
|
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
|
| Modifier and Type | Method and Description |
|---|---|
EncryptionType |
ETypeInfoEntry.getEType()
Returns the
EncryptionType. |
EncryptionType |
ETypeInfo2Entry.getEType()
Returns the
EncryptionType. |
EncryptionType |
EncryptedData.getEType()
Returns the
EncryptionType. |
EncryptionType |
EncryptionKey.getKeyType()
Returns the key type.
|
| Modifier and Type | Method and Description |
|---|---|
Set<EncryptionType> |
KdcReqBody.getEType()
Returns the requested
EncryptionTypes. |
| Modifier and Type | Method and Description |
|---|---|
void |
KdcReqBody.addEType(EncryptionType eType) |
void |
ETypeInfoEntry.setEType(EncryptionType etype) |
void |
ETypeInfo2Entry.setEType(EncryptionType etype) |
void |
EncryptedData.setEType(EncryptionType eType)
Set the EncryptionType
|
void |
EncryptionKey.setKeyType(EncryptionType keyType)
Set the encryption type
|
| Modifier and Type | Method and Description |
|---|---|
void |
KdcReqBody.setEType(Set<EncryptionType> eType) |
| 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.
|
ETypeInfo2Entry(EncryptionType etype) |
ETypeInfoEntry(EncryptionType etype,
byte[] salt)
Creates a new instance of ETypeInfoEntry.
|
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.