public class X509CertificateFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.io.Resource |
resource
The resource holding the certificate.
|
| Constructor and Description |
|---|
X509CertificateFactoryBean(org.springframework.core.io.Resource resource)
Constructor taking a resource/path to a DER- or PEM-encoded certificate.
|
| Modifier and Type | Method and Description |
|---|---|
protected X509Certificate |
createInstance() |
Class<?> |
getObjectType() |
protected org.springframework.core.io.Resource resource
public X509CertificateFactoryBean(org.springframework.core.io.Resource resource)
resource - the location of the certificateprotected X509Certificate createInstance() throws Exception
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<X509Certificate>getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>Copyright © 2018 Litsec AB. All rights reserved.