Package org.wildfly.security.key
Class RSAParameterSpiImpl
- java.lang.Object
 - 
- java.security.AlgorithmParametersSpi
 - 
- org.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<RSAParameterSpec>
 - 
- org.wildfly.security.key.RSAParameterSpiImpl
 
 
 
 
- 
public final class RSAParameterSpiImpl extends org.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<RSAParameterSpec>
An implementation of theAlgorithmParametersSpiSPI for RSA keys, because the JDK does not have one.- Author:
 - David M. Lloyd
 
 
- 
- 
Constructor Summary
Constructors Constructor Description RSAParameterSpiImpl()Construct a new instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RSAParameterSpecengineDecode(ASN1Decoder decoder)Decode a parameter instance.protected voidengineEncode(ASN1Encoder encoder, RSAParameterSpec parameterSpec)Encode a parameter instance.protected Class<RSAParameterSpec>getParameterType()Get the type of parameters for this class. 
 - 
 
- 
- 
Method Detail
- 
getParameterType
protected Class<RSAParameterSpec> getParameterType()
Description copied from class:org.wildfly.security.util.AbstractAlgorithmParametersSpiImplGet the type of parameters for this class.- Specified by:
 getParameterTypein classorg.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<RSAParameterSpec>- Returns:
 - the type of parameters for this class (must not be 
null) 
 
- 
engineEncode
protected void engineEncode(ASN1Encoder encoder, RSAParameterSpec parameterSpec)
Description copied from class:org.wildfly.security.util.AbstractAlgorithmParametersSpiImplEncode a parameter instance.- Specified by:
 engineEncodein classorg.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<RSAParameterSpec>- Parameters:
 encoder- the encoder to use (notnull)parameterSpec- the parameter instance (notnull)
 
- 
engineDecode
protected RSAParameterSpec engineDecode(ASN1Decoder decoder)
Description copied from class:org.wildfly.security.util.AbstractAlgorithmParametersSpiImplDecode a parameter instance. Subclasses should ensure that all elements are consumed (including sequence terminators and so forth).- Specified by:
 engineDecodein classorg.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<RSAParameterSpec>- Parameters:
 decoder- the decoder to use (notnull)- Returns:
 - the parameter instance (must not be 
null) 
 
 - 
 
 -