|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
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 | |
---|---|
void |
addAdditionalOption(String key,
Object value)
Add general options |
Object |
getAdditionalOption(String key)
Get additional option |
Certificate |
getCertificate(String alias)
Get the certificate given an alias |
SecretKey |
getEncryptionKey(String domain,
String encryptionAlgorithm,
int keyLength)
Given a domain, obtain a secret key |
PublicKey |
getPublicKey(String alias)
Get a Public Key given an alias |
PrivateKey |
getSigningKey()
Get the Signing Key |
KeyPair |
getSigningKeyPair()
Constructs a KeyPair instance containing the signing key (PrivateKey ) and associated PublicKey . |
PublicKey |
getValidatingKey(String domain)
Get the Validating Public Key of the domain |
void |
setAuthProperties(List<AuthPropertyType> authList)
Provide a set of properties used for authentication into the storage of keys - keystore, ldap, db, HSM etc |
void |
setValidatingAlias(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(List<AuthPropertyType> authList) throws TrustKeyConfigurationException, TrustKeyProcessingException
authList
-
{@link
- IOException}
TrustKeyConfigurationException
TrustKeyProcessingException
void setValidatingAlias(List<KeyValueType> aliases) throws TrustKeyConfigurationException, TrustKeyProcessingException
aliases
-
{@link
- IOException}
TrustKeyConfigurationException
TrustKeyProcessingException
PrivateKey getSigningKey() throws TrustKeyConfigurationException, TrustKeyProcessingException
{@link
- CertificateException}
TrustKeyConfigurationException
TrustKeyProcessingException
KeyPair getSigningKeyPair() throws TrustKeyConfigurationException, TrustKeyProcessingException
Constructs a KeyPair
instance containing the signing key (PrivateKey
) and associated PublicKey
.
KeyPair
object.
TrustKeyConfigurationException
TrustKeyProcessingException
Certificate getCertificate(String alias) throws TrustKeyConfigurationException, TrustKeyProcessingException
alias
-
{@link
- CertificateException}
TrustKeyConfigurationException
TrustKeyProcessingException
PublicKey getPublicKey(String alias) throws TrustKeyConfigurationException, TrustKeyProcessingException
alias
-
{@link
- CertificateException}
TrustKeyConfigurationException
TrustKeyProcessingException
SecretKey getEncryptionKey(String domain, String encryptionAlgorithm, int keyLength) throws TrustKeyConfigurationException, TrustKeyProcessingException
domain
- encryptionAlgorithm
- Encryption AlgorithmkeyLength
- length of keys
TrustKeyConfigurationException
TrustKeyProcessingException
EncryptionKeyUtil}
PublicKey getValidatingKey(String domain) throws TrustKeyConfigurationException, TrustKeyProcessingException
domain
-
TrustKeyConfigurationException
TrustKeyProcessingException
void addAdditionalOption(String key, Object value)
key
- value
- Object getAdditionalOption(String key)
key
-
|
PicketLink Federation Core 2.1.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |