T - the class associated with the transparent algorithm parameterspublic abstract class PQAlgorithmParameterSpi<T extends PQAlgorithmParameterSpec> extends AlgorithmParametersSpi
DO NOT USE THIS CLASS - ONLY FOR INTERNAL USE
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
PQExceptionprotected void engineInit(AlgorithmParameterSpec params) throws InvalidParameterSpecException
engineInit in class AlgorithmParametersSpiInvalidParameterSpecExceptionprotected void engineInit(byte[] params)
throws IOException
engineInit in class AlgorithmParametersSpiIOExceptionprotected void engineInit(byte[] params,
String format)
throws IOException
engineInit in class AlgorithmParametersSpiIOExceptionprotected <Z extends AlgorithmParameterSpec> Z engineGetParameterSpec(Class<Z> paramSpec) throws InvalidParameterSpecException
engineGetParameterSpec in class AlgorithmParametersSpiInvalidParameterSpecExceptionprotected byte[] engineGetEncoded()
throws IOException
ASN.1.engineGetEncoded in class AlgorithmParametersSpiASN.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 AlgorithmParametersSpiIOExceptionprotected String engineToString()
engineToString in class AlgorithmParametersSpiprotected T getParams()
Copyright © 2020–2025 Stiftung SIC. All rights reserved.