Class MaskedPasswordAlgorithmParametersSpiImpl
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.wildfly.security.util.AbstractAlgorithmParametersSpiImpl<MaskedPasswordAlgorithmSpec>
-
- org.wildfly.security.password.impl.MaskedPasswordAlgorithmParametersSpiImpl
-
public final class MaskedPasswordAlgorithmParametersSpiImpl extends AbstractAlgorithmParametersSpiImpl<MaskedPasswordAlgorithmSpec>
An implementation of theAlgorithmParametersSpiSPI, in order to support encoding and decoding of password algorithm parameters.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description MaskedPasswordAlgorithmParametersSpiImpl()Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MaskedPasswordAlgorithmSpecengineDecode(ASN1Decoder decoder)Decode a parameter instance.protected voidengineEncode(ASN1Encoder encoder, MaskedPasswordAlgorithmSpec parameterSpec)Encode a parameter instance.protected Class<MaskedPasswordAlgorithmSpec>getParameterType()Get the type of parameters for this class.-
Methods inherited from class org.wildfly.security.util.AbstractAlgorithmParametersSpiImpl
engineGetEncoded, engineGetEncoded, engineGetParameterSpec, engineInit, engineInit, engineInit, engineToString
-
-
-
-
Method Detail
-
getParameterType
protected Class<MaskedPasswordAlgorithmSpec> getParameterType()
Description copied from class:AbstractAlgorithmParametersSpiImplGet the type of parameters for this class.- Specified by:
getParameterTypein classAbstractAlgorithmParametersSpiImpl<MaskedPasswordAlgorithmSpec>- Returns:
- the type of parameters for this class (must not be
null)
-
engineEncode
protected void engineEncode(ASN1Encoder encoder, MaskedPasswordAlgorithmSpec parameterSpec)
Description copied from class:AbstractAlgorithmParametersSpiImplEncode a parameter instance.- Specified by:
engineEncodein classAbstractAlgorithmParametersSpiImpl<MaskedPasswordAlgorithmSpec>- Parameters:
encoder- the encoder to use (notnull)parameterSpec- the parameter instance (notnull)
-
engineDecode
protected MaskedPasswordAlgorithmSpec engineDecode(ASN1Decoder decoder)
Description copied from class:AbstractAlgorithmParametersSpiImplDecode a parameter instance. Subclasses should ensure that all elements are consumed (including sequence terminators and so forth).- Specified by:
engineDecodein classAbstractAlgorithmParametersSpiImpl<MaskedPasswordAlgorithmSpec>- Parameters:
decoder- the decoder to use (notnull)- Returns:
- the parameter instance (must not be
null)
-
-