IT. Expert System.

Android Reference

MyMacSpi


org.apache.harmony.crypto.tests.support

Class MyMacSpi



  • public class MyMacSpi
    extends MacSpi
    Additional class for verification of MacGeneratorSpi and MacSpi
    • Constructor Detail

      • MyMacSpi

        public MyMacSpi()
    • Method Detail

      • engineGetMacLength

        protected int engineGetMacLength()
        Description copied from class: MacSpi
        Returns the length of this MAC (in bytes).
        Specified by:
        engineGetMacLength in class MacSpi
        Returns:
        the length of this MAC (in bytes).
      • engineUpdate

        protected void engineUpdate(byte input)
        Description copied from class: MacSpi
        Updates this MacSpi instance with the specified byte.
        Specified by:
        engineUpdate in class MacSpi
        Parameters:
        input - the byte.
      • engineUpdate

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

        protected byte[] engineDoFinal()
        Description copied from class: MacSpi
        Computes the digest of this MAC based on the data previously specified in MacSpi.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.

        Specified by:
        engineDoFinal in class MacSpi
        Returns:
        the generated digest.
      • engineReset

        protected void engineReset()
        Description copied from class: MacSpi
        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.

        Specified by:
        engineReset in class MacSpi


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: 42 / 158770659. Delta: 0.02655 с