✓
public class Mac
extends java.lang.Object
implements java.lang.Cloneable
Constructors
- ✓protected Mac(javax.crypto.MacSpi arg0, java.security.Provider arg1, java.lang.String arg2)
Methods
- ✓public final java.lang.Object clone() throws java.lang.CloneNotSupportedException
- ✓public final byte[] doFinal() throws java.lang.IllegalStateException
- ✓public final byte[] doFinal(byte[] arg0) throws java.lang.IllegalStateException
- ✓public final void doFinal(byte[] arg0, int arg1) throws java.lang.IllegalStateException, javax.crypto.ShortBufferException
- ✓public final java.lang.String getAlgorithm()
- ✓public static final javax.crypto.Mac getInstance(java.lang.String arg0) throws java.security.NoSuchAlgorithmException
- ✓public static final javax.crypto.Mac getInstance(java.lang.String arg0, java.lang.String arg1) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
- ✓public static final javax.crypto.Mac getInstance(java.lang.String arg0, java.security.Provider arg1) throws java.security.NoSuchAlgorithmException
- ✓public final int getMacLength()
- ✓public final java.security.Provider getProvider()
- ✓public final void init(java.security.Key arg0) throws java.security.InvalidKeyException
- ✓public final void init(java.security.Key arg0, java.security.spec.AlgorithmParameterSpec arg1) throws java.security.InvalidAlgorithmParameterException, java.security.InvalidKeyException
- ✓public final void reset()
- ✓public final void update(byte arg0) throws java.lang.IllegalStateException
- ✓public final void update(byte[] arg0) throws java.lang.IllegalStateException
- ✓public final void update(byte[] arg0, int arg1, int arg2) throws java.lang.IllegalStateException
- ✓public final void update(java.nio.ByteBuffer arg0)