Class RFC5649WrapEngine

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAlgorithmName()
      Return the name of the algorithm the wrapper implements.
      void init​(boolean forWrapping, CipherParameters param)  
      byte[] unwrap​(byte[] in, int inOff, int inLen)  
      byte[] wrap​(byte[] in, int inOff, int inLen)  
      • Methods inherited from class java.lang.Object

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

      • RFC5649WrapEngine

        public RFC5649WrapEngine​(BlockCipher engine)
    • Method Detail

      • getAlgorithmName

        public java.lang.String getAlgorithmName()
        Description copied from interface: Wrapper
        Return the name of the algorithm the wrapper implements.
        Specified by:
        getAlgorithmName in interface Wrapper
        Returns:
        the name of the algorithm the wrapper implements.
      • wrap

        public byte[] wrap​(byte[] in,
                           int inOff,
                           int inLen)
        Specified by:
        wrap in interface Wrapper