Top Constructors Methods
org.bouncycastle.jcajce.provider

pack-priv abstract Class X509AlgorithmParameters

extends BaseAlgorithmParameters
Class Inheritance
Known Direct Subclasses
org.bouncycastle.jcajce.provider.DHAlgorithmParametersSpi, org.bouncycastle.jcajce.provider.ProvDSA.DSAAlgorithmParameters, org.bouncycastle.jcajce.provider.ProvEC.ECAlgParams, org.bouncycastle.jcajce.provider.ProvRSA.OAEPAlgorithmParameters, org.bouncycastle.jcajce.provider.ProvRSA.PSSAlgorithmParameters, org.bouncycastle.jcajce.provider.ProvRSA.KtsAlgParams
Imports
java.io.IOException

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final byte[]
engineGetEncoded(String
the name of the encoding format.
format
)

Overrides org.bouncycastle.jcajce.provider.BaseAlgorithmParameters.engineGetEncoded.

Returns the parameters encoded in the specified format.
protected final void
engineInit(byte[]
the encoded parameters.
params
,
String
the name of the decoding format.
format
)

Overrides org.bouncycastle.jcajce.provider.BaseAlgorithmParameters.engineInit.

Imports the parameters from params and decodes them according to the specified decoding format.
Inherited from org.bouncycastle.jcajce.provider.BaseAlgorithmParameters:
engineGetEncodedengineGetParameterSpecengineInitisASN1FormatStringlocalEngineGetParameterSpeclocalGetEncodedlocalInit

Constructor Detail

X509AlgorithmParametersback to summary
pack-priv X509AlgorithmParameters()

Method Detail

engineGetEncodedback to summary
protected final byte[] engineGetEncoded(String format) throws IOException

Overrides org.bouncycastle.jcajce.provider.BaseAlgorithmParameters.engineGetEncoded.

Doc from java.security.AlgorithmParametersSpi.engineGetEncoded.

Returns the parameters encoded in the specified format. If format is null, the primary encoding format for parameters is used. The primary encoding format is ASN.1, if an ASN.1 specification for these parameters exists.

Parameters
format:String

the name of the encoding format.

Returns:byte[]

the parameters encoded using the specified encoding scheme.

Exceptions
IOException:
on encoding errors.
engineInitback to summary
protected final void engineInit(byte[] params, String format) throws IOException

Overrides org.bouncycastle.jcajce.provider.BaseAlgorithmParameters.engineInit.

Doc from java.security.AlgorithmParametersSpi.engineInit.

Imports the parameters from params and decodes them according to the specified decoding format. If format is null, the primary decoding format for parameters is used. The primary decoding format is ASN.1, if an ASN.1 specification for these parameters exists.

Parameters
params:byte[]

the encoded parameters.

format:String

the name of the decoding format.

Exceptions
IOException:
on decoding errors