public class KeyStoreCredentialProvider extends Object implements CredentialProvider
Credential
opensaml object.Constructor and Description |
---|
KeyStoreCredentialProvider(SAML2Configuration configuration) |
KeyStoreCredentialProvider(String keyStoreAlias,
String keyStoreType,
org.springframework.core.io.Resource keyStoreResource,
String storePasswd,
String privateKeyPasswd) |
Modifier and Type | Method and Description |
---|---|
protected org.opensaml.xmlsec.signature.KeyInfo |
generateKeyInfoForCredential(org.opensaml.security.credential.Credential credential) |
org.opensaml.security.credential.Credential |
getCredential() |
org.opensaml.security.credential.CredentialResolver |
getCredentialResolver() |
org.opensaml.xmlsec.signature.KeyInfo |
getKeyInfo() |
org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver |
getKeyInfoCredentialResolver() |
org.opensaml.xmlsec.keyinfo.KeyInfoGenerator |
getKeyInfoGenerator() |
protected static String |
getPrivateKeyAlias(KeyStore keyStore,
String keyStoreAlias) |
public KeyStoreCredentialProvider(String keyStoreAlias, String keyStoreType, org.springframework.core.io.Resource keyStoreResource, String storePasswd, String privateKeyPasswd)
public KeyStoreCredentialProvider(SAML2Configuration configuration)
public org.opensaml.xmlsec.signature.KeyInfo getKeyInfo()
getKeyInfo
in interface CredentialProvider
public final org.opensaml.security.credential.CredentialResolver getCredentialResolver()
getCredentialResolver
in interface CredentialProvider
public org.opensaml.xmlsec.keyinfo.KeyInfoCredentialResolver getKeyInfoCredentialResolver()
getKeyInfoCredentialResolver
in interface CredentialProvider
public final org.opensaml.xmlsec.keyinfo.KeyInfoGenerator getKeyInfoGenerator()
getKeyInfoGenerator
in interface CredentialProvider
public final org.opensaml.security.credential.Credential getCredential()
getCredential
in interface CredentialProvider
protected final org.opensaml.xmlsec.signature.KeyInfo generateKeyInfoForCredential(org.opensaml.security.credential.Credential credential)
Copyright © 2019. All rights reserved.