public class X509CertificateChainFactoryBean extends Object implements FactoryBean<X509Certificate[]>
X509Certificate chain from a Resource.
This factory bean supports DER and PEM encoded certificate resources.| Modifier and Type | Field and Description |
|---|---|
private X509Certificate[] |
certificates
The singleton instance of the public certificate chain produced by this factory.
|
private Resource |
resource
Certificate chain resource.
|
| Constructor and Description |
|---|
X509CertificateChainFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate[] |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setResource(Resource res)
Sets the certificate chain resource.
|
private Resource resource
private X509Certificate[] certificates
public void setResource(@Nonnull Resource res)
res - certificate chain resourcepublic X509Certificate[] getObject() throws Exception
getObject in interface FactoryBean<X509Certificate[]>Exception@Nonnull public Class<?> getObjectType()
getObjectType in interface FactoryBean<X509Certificate[]>public boolean isSingleton()
isSingleton in interface FactoryBean<X509Certificate[]>Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.