public interface KeyManager
extends org.opensaml.xml.security.credential.CredentialResolver
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAvailableCredentials()
Method provides list of all credentials available in the storage.
|
X509Certificate |
getCertificate(String alias)
Returns certificate with the given alias from the keystore.
|
org.opensaml.xml.security.credential.Credential |
getCredential(String keyName)
Returns Credential object used to sign the messages issued by this entity.
|
org.opensaml.xml.security.credential.Credential |
getDefaultCredential()
Returns Credential object used to sign the messages issued by this entity.
|
String |
getDefaultCredentialName()
Method provides name of the credential which should be used by default when no other is specified.
|
org.opensaml.xml.security.credential.Credential getCredential(String keyName)
keyName
- name of the key to use, in case of null default key is usedorg.opensaml.xml.security.credential.Credential getDefaultCredential()
String getDefaultCredentialName()
Set<String> getAvailableCredentials()
X509Certificate getCertificate(String alias)
alias
- alias of certificate to find