|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.config.AbstractFactoryBean
edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialFactoryBean
edu.internet2.middleware.shibboleth.common.config.security.X509CredentialFactoryBean
public class X509CredentialFactoryBean
Factory bean for building X509Credential
s.
Field Summary |
---|
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
---|
logger |
Constructor Summary | |
---|---|
X509CredentialFactoryBean()
|
Method Summary | |
---|---|
protected Object |
createInstance()
|
List<X509Certificate> |
getCertificates()
Gets the cerificates respresented by this credential. |
List<X509CRL> |
getCrls()
Gets the CRLs respresented by this credential. |
X509Certificate |
getEntityCertificate()
Gets the end-entity cerificate respresented by this credential. |
Class |
getObjectType()
|
PrivateKey |
getPrivateKey()
Gets the private key respresented by this credential. |
void |
setCertificates(List<X509Certificate> certs)
Sets the cerificates respresented by this credential. |
void |
setCrls(List<X509CRL> crls)
Sets the CRLs respresented by this credential. |
void |
setEntityCertificate(X509Certificate newCert)
Sets the end-entity cerificate respresented by this credential. |
void |
setPrivateKey(PrivateKey key)
Sets the private key respresented by this credential. |
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.security.AbstractCredentialFactoryBean |
---|
getEntityID, getKeyNames, getUsageType, setEntityID, setKeyNames, setUsageType |
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean |
---|
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public X509CredentialFactoryBean()
Method Detail |
---|
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 X509Certificate getEntityCertificate()
public List<X509Certificate> getCertificates()
public List<X509CRL> getCrls()
public PrivateKey getPrivateKey()
public void setEntityCertificate(X509Certificate newCert)
newCert
- the new entity certificate respresented by this credentialpublic void setCertificates(List<X509Certificate> certs)
certs
- cerificates respresented by this credentialpublic void setCrls(List<X509CRL> crls)
crls
- CRLs respresented by this credentialpublic void setPrivateKey(PrivateKey key)
key
- private key respresented by this credential
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |