Android Guides | Samples

Javax.Crypto.MacSpi Class

The Service-Provider Interface (SPI) definition for the Mac class.

See Also: MacSpi

Syntax

[Android.Runtime.Register("javax/crypto/MacSpi", DoNotGenerateAcw=true)]
public abstract class MacSpi : Object

Remarks

The Service-Provider Interface (SPI) definition for the Mac class.

See Also

[Android Documentation]

Requirements

Namespace: Javax.Crypto
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Javax.Crypto.MacSpi are listed below.

See Also: Object

Public Constructors

Creates a new MacSpi instance.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Clone() : Object
Clones this MacSpi instance.

Protected Methods

abstract
EngineDoFinal() : Byte[]
Computes the digest of this MAC based on the data previously specified in MacSpi.EngineUpdate(SByte) calls.
abstract
EngineGetMacLength() : Int32
Returns the length of this MAC (in bytes).
abstract
EngineInit(IKey, IAlgorithmParameterSpec)
Initializes this MacSpi instance with the specified key and algorithm parameters.
abstract
EngineReset()
Resets this MacSpi instance to its initial state.
EngineUpdate(ByteBuffer)
Updates this MacSpi instance with the data from the specified buffer, starting at Buffer.Position, including the next Buffer.Remaining bytes.
abstract
EngineUpdate(SByte)
Updates this MacSpi instance with the specified byte.
abstract
EngineUpdate(Byte[], Int32, Int32)
Updates this MacSpi instance with the data from the specified buffer input from the specified offset and length len.