Class PBEPKCS12.AlgParams
java.lang.Object
java.security.AlgorithmParametersSpi
org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
org.bouncycastle.jcajce.provider.symmetric.PBEPKCS12.AlgParams
- Enclosing class:
- PBEPKCS12
public static class PBEPKCS12.AlgParams extends BaseAlgorithmParameters
-
Constructor Summary
Constructors Constructor Description AlgParams() -
Method Summary
Modifier and Type Method Description protected byte[]engineGetEncoded()Returns the parameters in their default encoding format.protected byte[]engineGetEncoded(String format)Returns the parameters in the specified encoding format.protected voidengineInit(byte[] params)Initializes thisAlgorithmParametersSpiwith the specifiedbyte[]using the default decoding format for parameters.protected voidengineInit(byte[] params, String format)Initializes thisAlgorithmParametersSpiwith the specifiedbyte[]using the specified decoding format.protected voidengineInit(AlgorithmParameterSpec paramSpec)Initializes thisAlgorithmParametersSpiwith the specifiedAlgorithmParameterSpec.protected StringengineToString()Returns a string containing a concise, human-readable description of thisAlgorithmParametersSpi.protected AlgorithmParameterSpeclocalEngineGetParameterSpec(Class paramSpec)Methods inherited from class org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters
engineGetParameterSpec, isASN1FormatString
-
Constructor Details
-
AlgParams
public AlgParams()
-
-
Method Details
-
engineGetEncoded
protected byte[] engineGetEncoded()Description copied from class:AlgorithmParametersSpiReturns the parameters in their default encoding format. The default encoding format is ASN.1.- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Returns:
- the encoded parameters.
-
engineGetEncoded
Description copied from class:AlgorithmParametersSpiReturns the parameters in the specified encoding format.- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Parameters:
format- the name of the encoding format.- Returns:
- the encoded parameters.
-
localEngineGetParameterSpec
protected AlgorithmParameterSpec localEngineGetParameterSpec(Class paramSpec) throws InvalidParameterSpecException- Specified by:
localEngineGetParameterSpecin classBaseAlgorithmParameters- Throws:
InvalidParameterSpecException
-
engineInit
Description copied from class:AlgorithmParametersSpiInitializes thisAlgorithmParametersSpiwith the specifiedAlgorithmParameterSpec.- Specified by:
engineInitin classAlgorithmParametersSpi- Parameters:
paramSpec- the parameter specification.- Throws:
InvalidParameterSpecException- if thisAlgorithmParametersSpihas already been initialized or the givenparamSpecis not appropriate for initializing thisAlgorithmParametersSpi.
-
engineInit
Description copied from class:AlgorithmParametersSpiInitializes thisAlgorithmParametersSpiwith the specifiedbyte[]using the default decoding format for parameters. The default encoding format is ASN.1.- Specified by:
engineInitin classAlgorithmParametersSpi- Parameters:
params- the encoded parameters.- Throws:
IOException- if thisAlgorithmParametersSpihas already been initialized, or the parameter could not be encoded.
-
engineInit
Description copied from class:AlgorithmParametersSpiInitializes thisAlgorithmParametersSpiwith the specifiedbyte[]using the specified decoding format.- Specified by:
engineInitin classAlgorithmParametersSpi- Parameters:
params- the encoded parameters.format- the name of the decoding format.- Throws:
IOException- if thisAlgorithmParametersSpihas already been initialized, or the parameter could not be encoded.
-
engineToString
Description copied from class:AlgorithmParametersSpiReturns a string containing a concise, human-readable description of thisAlgorithmParametersSpi.- Specified by:
engineToStringin classAlgorithmParametersSpi- Returns:
- a printable representation for this
AlgorithmParametersSpi.
-