Class WrapParameterSpec

  • All Implemented Interfaces:
    java.security.spec.AlgorithmParameterSpec

    public class WrapParameterSpec
    extends java.lang.Object
    implements java.security.spec.AlgorithmParameterSpec
    Parameter spec to allow keywrapping to be configured to use the inverse function.
    • Constructor Summary

      Constructors 
      Constructor Description
      WrapParameterSpec​(boolean useInverseFunction)
      Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean useInverseFunction()
      Return whether or not we specify the inverse function.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WrapParameterSpec

        public WrapParameterSpec​(boolean useInverseFunction)
        Base constructor - specify that a wrapper should, or shouldn't use the inverse function for the cipher in wrapping.

        By default wrappers do not use the inverse function.

        Parameters:
        useInverseFunction - true if use inverse, false if not.
    • Method Detail

      • useInverseFunction

        public boolean useInverseFunction()
        Return whether or not we specify the inverse function.
        Returns:
        true if requiring inverse function, false otherwise.