com.ibm.crypto.fips.provider

Class JITFullHardwareDigest

  • java.lang.Object
    • com.ibm.crypto.fips.provider.JITFullHardwareDigest


  • public final class JITFullHardwareDigest
    extends java.lang.Object
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void digestFinal(byte[] in, int inputLength, int inputOffset, long totalMessageLength) 
      byte[] getState(byte[] result, int offset, int length) 
      int getStateSize() 
      void init(byte[] IV) 
      static boolean isSupportedByHardware(java.lang.String algorithm)
      Returns false if hardware does not support the particular algorithm.
      void update(byte[] in, int inputLength, int inputOffset) 
      • Methods inherited from class java.lang.Object

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

      • digestFinal

        public void digestFinal(byte[] in,
                       int inputLength,
                       int inputOffset,
                       long totalMessageLength)
      • update

        public void update(byte[] in,
                  int inputLength,
                  int inputOffset)
      • init

        public void init(byte[] IV)
      • isSupportedByHardware

        public static boolean isSupportedByHardware(java.lang.String algorithm)
        Returns false if hardware does not support the particular algorithm.
        Parameters:
        algorithm - Name of algorithm (i.e. AES)
        Returns:
        false if hardware is known not to support this algorithm.
      • getState

        public byte[] getState(byte[] result,
                      int offset,
                      int length)
      • getStateSize

        public int getStateSize()
© Portions Copyright 2003, 2014, 2015, 2016 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2014 Oracle and/or its affiliates. All rights reserved.