org.alfresco.encryption
Interface KeyProvider

All Known Implementing Classes:
AbstractKeyProvider, KeystoreKeyProvider

public interface KeyProvider

A key provider returns the secret keys for different use cases.

Since:
4.0

Field Summary
static java.lang.String ALIAS_METADATA
          Constant representing the keystore alias for keys to encrypt/decrypt node metadata
static java.lang.String ALIAS_SOLR
          Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data
 
Method Summary
 java.security.Key getKey(java.lang.String keyAlias)
          Get an encryption key if available.
 

Field Detail

ALIAS_METADATA

static final java.lang.String ALIAS_METADATA
Constant representing the keystore alias for keys to encrypt/decrypt node metadata

See Also:
Constant Field Values

ALIAS_SOLR

static final java.lang.String ALIAS_SOLR
Constant representing the keystore alias for keys to encrypt/decrypt SOLR transfer data

See Also:
Constant Field Values
Method Detail

getKey

java.security.Key getKey(java.lang.String keyAlias)
Get an encryption key if available.

Parameters:
keyAlias - the key alias
Returns:
the encryption key and a timestamp of when it was last changed


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.