IT. Expert System.

Android Reference

MacSpi


javax.crypto

Class MacSpi

  • Direct Known Subclasses:
    MyMacSpi


    public abstract class MacSpi
    extends Object
    The Service-Provider Interface (SPI) definition for the Mac class.
    See Also:
    Mac
    • Constructor Detail

      • MacSpi

        public MacSpi()
        Creates a new MacSpi instance.
    • Method Detail

      • engineGetMacLength

        protected abstract int engineGetMacLength()
        Returns the length of this MAC (in bytes).
        Returns:
        the length of this MAC (in bytes).
      • engineUpdate

        protected abstract void engineUpdate(byte input)
        Updates this MacSpi instance with the specified byte.
        Parameters:
        input - the byte.
      • engineUpdate

        protected abstract void engineUpdate(byte[] input,
                        int offset,
                        int len)
        Updates this MacSpi instance with the data from the specified buffer input from the specified offset and length len.
        Parameters:
        input - the buffer.
        offset - the offset in the buffer.
        len - the length of the data in the buffer.
      • engineUpdate

        protected void engineUpdate(ByteBuffer input)
        Updates this MacSpi instance with the data from the specified buffer, starting at Buffer.position(), including the next Buffer.remaining() bytes.
        Parameters:
        input - the buffer.
      • engineDoFinal

        protected abstract byte[] engineDoFinal()
        Computes the digest of this MAC based on the data previously specified in engineUpdate(byte) calls.

        This MacSpi instance is reverted to its initial state and can be used to start the next MAC computation with the same parameters or initialized with different parameters.

        Returns:
        the generated digest.
      • engineReset

        protected abstract void engineReset()
        Resets this MacSpi instance to its initial state.

        This MacSpi instance is reverted to its initial state and can be used to start the next MAC computation with the same parameters or initialized with different parameters.



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 765 / 158767225. Delta: 0.03916 с