Freigeben über


ExemptionMechanismSpi.EngineGetOutputSize(Int32) Method

Definition

Returns the length in bytes that an output buffer would need to be in order to hold the result of the next #engineGenExemptionBlob(byte[], int) engineGenExemptionBlob operation, given the input length inputLen (in bytes).

[Android.Runtime.Register("engineGetOutputSize", "(I)I", "GetEngineGetOutputSize_IHandler")]
protected abstract int EngineGetOutputSize (int inputLen);
[<Android.Runtime.Register("engineGetOutputSize", "(I)I", "GetEngineGetOutputSize_IHandler")>]
abstract member EngineGetOutputSize : int -> int

Parameters

inputLen
Int32

the input length (in bytes)

Returns

the required output buffer size (in bytes)

Attributes

Remarks

Returns the length in bytes that an output buffer would need to be in order to hold the result of the next #engineGenExemptionBlob(byte[], int) engineGenExemptionBlob operation, given the input length inputLen (in bytes).

The actual output length of the next #engineGenExemptionBlob(byte[], int) engineGenExemptionBlob call may be smaller than the length returned by this method.

Java documentation for javax.crypto.ExemptionMechanismSpi.engineGetOutputSize(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to