Class WrapUtil
- java.lang.Object
-
- org.bouncycastle.pqc.jcajce.provider.util.WrapUtil
-
public class WrapUtil extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WrapUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Wrapper
getKeyUnwrapper(KTSParameterSpec ktsParameterSpec, byte[] secret)
static Wrapper
getKeyWrapper(KTSParameterSpec ktsParameterSpec, byte[] secret)
static Wrapper
getWrapper(java.lang.String keyAlgorithmName)
-
-
-
Method Detail
-
getKeyWrapper
public static Wrapper getKeyWrapper(KTSParameterSpec ktsParameterSpec, byte[] secret) throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
-
getKeyUnwrapper
public static Wrapper getKeyUnwrapper(KTSParameterSpec ktsParameterSpec, byte[] secret) throws java.security.InvalidKeyException
- Throws:
java.security.InvalidKeyException
-
getWrapper
public static Wrapper getWrapper(java.lang.String keyAlgorithmName)
-
-