public final class Sha256HMac extends HMac
An instance of this algorithm can be obtained using the Java Cryptography
Architecture (JCA), by requesting an 'HmacSHA256' MAC from the
Entrust cryptographic
service provider. This can be done using the following call:
Mac.getInstance("HmacSHA256", "Entrust");
HMac| Constructor and Description |
|---|
Sha256HMac()
The constructor; creates a new instance of the HmacSHA256 MAC algorithm.
|
engineDoFinal, engineGetMacLength, engineInit, engineReset, engineUpdate, engineUpdatepublic Sha256HMac()
Applications should never use this constructor, instead the MAC algorithm
should be requested from the appropriate JCA/JCE cryptographic service
provider as follows:
Mac.getInstance("HmacSHA256", "Entrust").