com.ibm.crypto.ibmjcehybrid.provider
Class PBMParametersHybrid
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- com.ibm.crypto.ibmjcehybrid.provider.PBMParametersHybrid
-
public final class PBMParametersHybrid extends java.security.AlgorithmParametersSpiThis class is a facade for the parameter set used with the Password Based Mac algorithm.
-
-
Constructor Summary
Constructors Constructor and Description PBMParametersHybrid()Creates an instance of the PBMParametersHybrid class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description protected byte[]engineGetEncoded()This method returns the algorithm parameters in encoded form.protected byte[]engineGetEncoded(java.lang.String encodingMethod)This method returns the algorithm parameters in encoded form.protected java.security.spec.AlgorithmParameterSpecengineGetParameterSpec(java.lang.Class paramSpecClass)This method returns the AlgorithmParameters object.protected voidengineInit(java.security.spec.AlgorithmParameterSpec paramSpec)This method provides the settings for the AlgorithmParameters.protected voidengineInit(byte[] encoded)This method provides the settings for the AlgorithmParameters.protected voidengineInit(byte[] encoded, java.lang.String decodingMethod)This method provides the settings for the AlgorithmParameters.protected java.lang.StringengineToString()protected java.lang.StringtoString(boolean isExternalCall)Returns a formatted string describing the parameters.
-
-
-
Constructor Detail
-
PBMParametersHybrid
public PBMParametersHybrid()
Creates an instance of the PBMParametersHybrid class.
-
-
Method Detail
-
engineInit
protected void engineInit(java.security.spec.AlgorithmParameterSpec paramSpec) throws java.security.spec.InvalidParameterSpecExceptionThis method provides the settings for the AlgorithmParameters.- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Parameters:
paramSpec- The settings- Throws:
java.security.spec.InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] encoded) throws java.io.IOExceptionThis method provides the settings for the AlgorithmParameters.- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Parameters:
encoded- The settings- Throws:
java.io.IOException
-
engineInit
protected void engineInit(byte[] encoded, java.lang.String decodingMethod) throws java.io.IOExceptionThis method provides the settings for the AlgorithmParameters.- Specified by:
engineInitin classjava.security.AlgorithmParametersSpi- Parameters:
encoded- The settingsdecodingMethod- How to extract the settings- Throws:
java.io.IOException
-
engineGetParameterSpec
protected java.security.spec.AlgorithmParameterSpec engineGetParameterSpec(java.lang.Class paramSpecClass) throws java.security.spec.InvalidParameterSpecExceptionThis method returns the AlgorithmParameters object.- Specified by:
engineGetParameterSpecin classjava.security.AlgorithmParametersSpi- Parameters:
paramSpecClass- The class of the AlgorithmParameters to return- Throws:
java.security.spec.InvalidParameterSpecException
-
engineGetEncoded
protected byte[] engineGetEncoded() throws java.io.IOExceptionThis method returns the algorithm parameters in encoded form.- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Throws:
java.io.IOException
-
engineGetEncoded
protected byte[] engineGetEncoded(java.lang.String encodingMethod) throws java.io.IOExceptionThis method returns the algorithm parameters in encoded form.- Specified by:
engineGetEncodedin classjava.security.AlgorithmParametersSpi- Parameters:
encodingMethod- encoding method.- Throws:
java.io.IOException
-
engineToString
protected java.lang.String engineToString()
- Specified by:
engineToStringin classjava.security.AlgorithmParametersSpi
-
toString
protected java.lang.String toString(boolean isExternalCall)
Returns a formatted string describing the parameters.- Parameters:
isExternalCall- specifies whether the call is from an external caller or from a method in this class.- Returns:
- this object represented as a string.
-
-