|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrustKeyManager
Key Manager interface used in trust decisions
Method Summary | |
---|---|
javax.crypto.SecretKey |
getEncryptionKey(java.lang.String domain,
java.lang.String encryptionAlgorithm,
int keyLength)
Given a domain, obtain a secret key |
java.security.PrivateKey |
getSigningKey()
Get the Signing Key |
java.security.PublicKey |
getValidatingKey(java.lang.String domain)
Get the Validating Public Key of the domain |
void |
setAuthProperties(java.util.List<AuthPropertyType> authList)
Provide a set of properties used for authentication into the storage of keys - keystore, ldap, db, HSM etc |
void |
setValidatingAlias(java.util.List<KeyValueType> aliases)
Set a list of (domain,alias) tuple to trust domains The alias is a string that represents the validating key stored for a domain |
Method Detail |
---|
void setAuthProperties(java.util.List<AuthPropertyType> authList) throws java.lang.Exception
authList
-
java.lang.Exception
void setValidatingAlias(java.util.List<KeyValueType> aliases) throws java.lang.Exception
aliases
-
java.lang.Exception
java.security.PrivateKey getSigningKey() throws java.lang.Exception
java.lang.Exception
javax.crypto.SecretKey getEncryptionKey(java.lang.String domain, java.lang.String encryptionAlgorithm, int keyLength) throws java.lang.Exception
domain
- encryptionAlgorithm
- Encryption AlgorithmkeyLength
- length of keys
java.lang.Exception
EncryptionKeyUtil}
java.security.PublicKey getValidatingKey(java.lang.String domain) throws java.lang.Exception
domain
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |