Package org.conscrypt
Class IvParameters
- java.lang.Object
-
- java.security.AlgorithmParametersSpi
-
- org.conscrypt.IvParameters
-
- Direct Known Subclasses:
IvParameters.AES,IvParameters.ChaCha20,IvParameters.DESEDE
@Internal public class IvParameters extends AlgorithmParametersSpi
An implementation ofAlgorithmParametersthat contains only an IV. The supported encoding formats are ASN.1 (primary) and RAW.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIvParameters.AESstatic classIvParameters.ChaCha20static classIvParameters.DESEDE
-
Constructor Summary
Constructors Constructor Description IvParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected byte[]engineGetEncoded()protected byte[]engineGetEncoded(String format)protected <T extends AlgorithmParameterSpec>
TengineGetParameterSpec(Class<T> aClass)protected voidengineInit(byte[] bytes)protected voidengineInit(byte[] bytes, String format)protected voidengineInit(AlgorithmParameterSpec algorithmParameterSpec)protected StringengineToString()
-
-
-
Method Detail
-
engineInit
protected void engineInit(AlgorithmParameterSpec algorithmParameterSpec) throws InvalidParameterSpecException
- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineInit
protected void engineInit(byte[] bytes) throws IOException- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineInit
protected void engineInit(byte[] bytes, String format) throws IOException- Specified by:
engineInitin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetParameterSpec
protected <T extends AlgorithmParameterSpec> T engineGetParameterSpec(Class<T> aClass) throws InvalidParameterSpecException
- Specified by:
engineGetParameterSpecin classAlgorithmParametersSpi- Throws:
InvalidParameterSpecException
-
engineGetEncoded
protected byte[] engineGetEncoded() throws IOException- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineGetEncoded
protected byte[] engineGetEncoded(String format) throws IOException
- Specified by:
engineGetEncodedin classAlgorithmParametersSpi- Throws:
IOException
-
engineToString
protected String engineToString()
- Specified by:
engineToStringin classAlgorithmParametersSpi
-
-