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 |
---|---|
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.
|
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.
|
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 String |
KerberosUtils.getAlgoNameFromEncType(EncryptionType encType) |
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 |
EncryptionKey.getKeyType()
Returns the key type.
|
Modifier and Type | Method and Description |
---|---|
void |
EncryptionKey.setKeyType(EncryptionType keyType)
Set the encryption type
|
Constructor and Description |
---|
EncryptionKey(EncryptionType keyType,
byte[] keyValue)
Creates a new instance of EncryptionKey.
|
EncryptionKey(EncryptionType keyType,
byte[] keyValue,
int keyVersion)
Creates a new instance of EncryptionKey.
|
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.