public class BasicCredentialFactoryBean extends AbstractCredentialFactoryBean
X509Certificate
s.Modifier and Type | Field and Description |
---|---|
private org.slf4j.Logger |
log
Class logger.
|
private PrivateKey |
privateKey
Private key respresented by this credential.
|
private PublicKey |
publicKey
Public key respresented by this credential.
|
private SecretKey |
secretKey
Secret key respresented by this credential.
|
Constructor and Description |
---|
BasicCredentialFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected Object |
createInstance() |
Class |
getObjectType() |
PrivateKey |
getPrivateKey()
Gets the private key respresented by this credential.
|
PublicKey |
getPublicKey()
Gets the public key respresented by this credential.
|
SecretKey |
getSecretKey()
Gets the secret key respresented by this credential.
|
void |
setPrivateKey(PrivateKey key)
Sets the private key respresented by this credential.
|
void |
setPublicKey(PublicKey key)
Sets the public key respresented by this credential.
|
void |
setSecretKey(SecretKey key)
Sets the secret key respresented by this credential.
|
getEntityID, getKeyNames, getUsageType, setEntityID, setKeyNames, setUsageType
private final org.slf4j.Logger log
private SecretKey secretKey
private PrivateKey privateKey
private PublicKey publicKey
protected Object createInstance() throws Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean
Exception
public Class getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean
public PrivateKey getPrivateKey()
public PublicKey getPublicKey()
public SecretKey getSecretKey()
public void setPrivateKey(PrivateKey key)
key
- private key respresented by this credentialpublic void setPublicKey(PublicKey key)
key
- public key respresented by this credentialpublic void setSecretKey(SecretKey key)
key
- secret key respresented by this credentialCopyright © 1999-2012. All Rights Reserved.