Class WrapUtil


  • public class WrapUtil
    extends java.lang.Object
    • Constructor Detail

      • WrapUtil

        public WrapUtil()
    • 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)