Android Guides | Samples

Javax.Crypto.ExemptionMechanismSpi.EngineGenExemptionBlob Method

Generates the result key blob for this exemption mechanism and stores it into the output buffer at offset outputOffset.

Syntax

[Android.Runtime.Register("engineGenExemptionBlob", "([BI)I", "GetEngineGenExemptionBlob_arrayBIHandler")]
protected abstract Int32 EngineGenExemptionBlob (Byte[] output, Int32 outputOffset)

Parameters

output
the output buffer for the result key blob.
outputOffset
the offset in the output buffer to start.

Exceptions

TypeReason
ShortBufferExceptionif the provided buffer is too small for the result key blob.
ExemptionMechanismExceptionif error(s) occur during generation.

Remarks

Generates the result key blob for this exemption mechanism and stores it into the output buffer at offset outputOffset.

[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