Class EncryptionMethodFactoryBean
- java.lang.Object
-
- org.springframework.beans.factory.config.AbstractFactoryBean<T>
-
- se.litsec.opensaml.core.spring.AbstractSAMLObjectBuilderFactoryBean<EncryptionMethod>
-
- se.litsec.opensaml.saml2.metadata.build.spring.EncryptionMethodFactoryBean
-
- 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<EncryptionMethod>,org.springframework.beans.factory.InitializingBean
public class EncryptionMethodFactoryBean extends AbstractSAMLObjectBuilderFactoryBean<EncryptionMethod>
A Spring factory bean forEncryptionMethodobjects.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)s
-
-
Constructor Summary
Constructors Constructor Description EncryptionMethodFactoryBean(String algorithm)Constructor.EncryptionMethodFactoryBean(String algorithm, Integer keySize)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractSAMLObjectBuilder<EncryptionMethod>builder()Returns the builder.Class<?>getObjectType()voidsetOAEPparams(String base64Encoding)Assigns the OAEP parameters.-
Methods inherited from class se.litsec.opensaml.core.spring.AbstractSAMLObjectBuilderFactoryBean
createInstance, localizedStringListToVarArgs, stringListToVarArgs, toVarArgs
-
-
-
-
Constructor Detail
-
EncryptionMethodFactoryBean
public EncryptionMethodFactoryBean(String algorithm)
Constructor.- Parameters:
algorithm- the algorithm
-
-
Method Detail
-
setOAEPparams
public void setOAEPparams(String base64Encoding)
Assigns the OAEP parameters.- Parameters:
base64Encoding- parameters in base64
-
builder
protected AbstractSAMLObjectBuilder<EncryptionMethod> builder()
Returns the builder.- Specified by:
builderin classAbstractSAMLObjectBuilderFactoryBean<EncryptionMethod>- Returns:
- the builder
-
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<EncryptionMethod>- Specified by:
getObjectTypein classorg.springframework.beans.factory.config.AbstractFactoryBean<EncryptionMethod>
-
-