Class KeyStore.CipherParams

  • Enclosing class:
    KeyStore

    public static class KeyStore.CipherParams
    extends java.lang.Object
    Represents a Cipher option to encrypt or decrypt key
    • Constructor Summary

      Constructors 
      Constructor Description
      CipherParams()
      Creates CipherParams instance It set iv valus to random byte(16 bytes)
      CipherParams​(java.lang.String iv)
      Creates CipherParams instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIv()
      Getter function for IV
      void setIv​(java.lang.String iv)
      Setter function for IV
      • Methods inherited from class java.lang.Object

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

      • CipherParams

        public CipherParams()
        Creates CipherParams instance It set iv valus to random byte(16 bytes)
      • CipherParams

        public CipherParams​(java.lang.String iv)
        Creates CipherParams instance.
        Parameters:
        iv - Initial vector string.
    • Method Detail

      • getIv

        public java.lang.String getIv()
        Getter function for IV
        Returns:
        String
      • setIv

        public void setIv​(java.lang.String iv)
        Setter function for IV
        Parameters:
        iv - Initial vector string.