T
- the class associated with the transparent algorithm parameterspublic abstract class PQAlgorithmParameterSpi<T extends PQAlgorithmParameterSpec> extends AlgorithmParametersSpi
Parent class of all algorithm parameter sets defined by the Provider. This templated class extends AlgorithmParametersSpi and defines all common ASN.1 processing of the AlgorithmParameters. The template defines the associated transparent definition of the parameters.
DO NOT USE THIS CLASS - ONLY FOR INTERNAL USE
Modifier | Constructor and Description |
---|---|
protected |
PQAlgorithmParameterSpi(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) |
protected byte[] |
engineGetEncoded()
Encodes this object with default encoding, which is
ASN.1 . |
protected byte[] |
engineGetEncoded(String format) |
protected <Z extends AlgorithmParameterSpec> |
engineGetParameterSpec(Class<Z> paramSpec) |
protected void |
engineInit(AlgorithmParameterSpec params) |
protected void |
engineInit(byte[] params) |
protected void |
engineInit(byte[] params,
String format) |
protected String |
engineToString() |
protected T |
getParams() |
protected abstract T createNewInstance(iaik.asn1.structures.AlgorithmID algorithmID) throws PQException
PQException
protected void engineInit(AlgorithmParameterSpec params) throws InvalidParameterSpecException
engineInit
in class AlgorithmParametersSpi
InvalidParameterSpecException
protected void engineInit(byte[] params) throws IOException
engineInit
in class AlgorithmParametersSpi
IOException
protected void engineInit(byte[] params, String format) throws IOException
engineInit
in class AlgorithmParametersSpi
IOException
protected <Z extends AlgorithmParameterSpec> Z engineGetParameterSpec(Class<Z> paramSpec) throws InvalidParameterSpecException
engineGetParameterSpec
in class AlgorithmParametersSpi
InvalidParameterSpecException
protected byte[] engineGetEncoded() throws IOException
ASN.1
.engineGetEncoded
in class AlgorithmParametersSpi
ASN.1
encoded parameters as byte array.IOException
- if is not possible to serialize the parameters.protected byte[] engineGetEncoded(String format) throws IOException
engineGetEncoded
in class AlgorithmParametersSpi
IOException
protected String engineToString()
engineToString
in class AlgorithmParametersSpi
protected T getParams()
Copyright © 2020–2023 Stiftung SIC. All rights reserved.