Package se.litsec.opensaml.utils.spring
Class X509CertificateFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>
-
- se.litsec.opensaml.utils.spring.X509CertificateFactoryBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.FactoryBean<X509Certificate>,org.springframework.beans.factory.InitializingBean
@Deprecated(forRemoval=true) public class X509CertificateFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>
Deprecated, for removal: This API element is subject to removal in a future version.A factory bean for creating X.509 certificates read from file. * @deprecated usese.swedenconnect.security.credential.factory.X509CertificateFactoryBeanfrom the credentials-support library instead- Author:
- Martin Lindström (martin@litsec.se)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.springframework.core.io.ResourceresourceDeprecated, for removal: This API element is subject to removal in a future version.The resource holding the certificate.
-
Constructor Summary
Constructors Constructor Description X509CertificateFactoryBean(org.springframework.core.io.Resource resource)Deprecated, for removal: This API element is subject to removal in a future version.Constructor taking a resource/path to a DER- or PEM-encoded certificate.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected X509CertificatecreateInstance()Deprecated, for removal: This API element is subject to removal in a future version.Class<?>getObjectType()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Constructor Detail
-
X509CertificateFactoryBean
public X509CertificateFactoryBean(org.springframework.core.io.Resource resource)
Deprecated, for removal: This API element is subject to removal in a future version.Constructor taking a resource/path to a DER- or PEM-encoded certificate.- Parameters:
resource- the location of the certificate
-
-
Method Detail
-
createInstance
protected X509Certificate createInstance() throws Exception
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
createInstancein classorg.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>- Throws:
Exception
-
getObjectType
public Class<?> getObjectType()
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<X509Certificate>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<X509Certificate>
-
-