public class KeyManagerImpl extends DefaultComponent implements KeyManager
KeyManager
that uses a JKS key store.lastModified
Constructor and Description |
---|
KeyManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAvailableCredentials() |
X509Certificate |
getCertificate(String alias) |
org.opensaml.xml.security.credential.Credential |
getCredential(String keyName) |
org.opensaml.xml.security.credential.Credential |
getEncryptionCredential() |
org.opensaml.xml.security.credential.Credential |
getSigningCredential() |
org.opensaml.xml.security.credential.Credential |
getTlsCredential() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
Iterable<org.opensaml.xml.security.credential.Credential> |
resolve(org.opensaml.xml.security.CriteriaSet criteria) |
org.opensaml.xml.security.credential.Credential |
resolveSingle(org.opensaml.xml.security.CriteriaSet criteria) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public KeyManagerImpl()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public org.opensaml.xml.security.credential.Credential getCredential(String keyName)
getCredential
in interface KeyManager
public Set<String> getAvailableCredentials()
getAvailableCredentials
in interface KeyManager
public X509Certificate getCertificate(String alias)
getCertificate
in interface KeyManager
public org.opensaml.xml.security.credential.Credential getSigningCredential()
getSigningCredential
in interface KeyManager
public org.opensaml.xml.security.credential.Credential getEncryptionCredential()
getEncryptionCredential
in interface KeyManager
public org.opensaml.xml.security.credential.Credential getTlsCredential()
getTlsCredential
in interface KeyManager
public Iterable<org.opensaml.xml.security.credential.Credential> resolve(org.opensaml.xml.security.CriteriaSet criteria) throws org.opensaml.xml.security.SecurityException
resolve
in interface org.opensaml.xml.security.Resolver<org.opensaml.xml.security.credential.Credential,org.opensaml.xml.security.CriteriaSet>
org.opensaml.xml.security.SecurityException
public org.opensaml.xml.security.credential.Credential resolveSingle(org.opensaml.xml.security.CriteriaSet criteria) throws org.opensaml.xml.security.SecurityException
resolveSingle
in interface org.opensaml.xml.security.Resolver<org.opensaml.xml.security.credential.Credential,org.opensaml.xml.security.CriteriaSet>
org.opensaml.xml.security.SecurityException
Copyright © 2015 Nuxeo SA. All rights reserved.