ExemptionMechanismSpi.EngineGenExemptionBlob Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EngineGenExemptionBlob() |
Generates the exemption mechanism key blob. |
EngineGenExemptionBlob(Byte[], Int32) |
Generates the exemption mechanism key blob, and stores the result in
the |
EngineGenExemptionBlob()
Generates the exemption mechanism key blob.
[Android.Runtime.Register("engineGenExemptionBlob", "()[B", "GetEngineGenExemptionBlobHandler")]
protected abstract byte[]? EngineGenExemptionBlob ();
[<Android.Runtime.Register("engineGenExemptionBlob", "()[B", "GetEngineGenExemptionBlobHandler")>]
abstract member EngineGenExemptionBlob : unit -> byte[]
Returns
the new buffer with the result key blob.
- Attributes
Exceptions
if error(s) occur during generation.
Remarks
Generates the exemption mechanism key blob.
Java documentation for javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob()
.
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
EngineGenExemptionBlob(Byte[], Int32)
Generates the exemption mechanism key blob, and stores the result in
the output
buffer, starting at outputOffset
inclusive.
[Android.Runtime.Register("engineGenExemptionBlob", "([BI)I", "GetEngineGenExemptionBlob_arrayBIHandler")]
protected abstract int EngineGenExemptionBlob (byte[]? output, int outputOffset);
[<Android.Runtime.Register("engineGenExemptionBlob", "([BI)I", "GetEngineGenExemptionBlob_arrayBIHandler")>]
abstract member EngineGenExemptionBlob : byte[] * int -> int
Parameters
- output
- Byte[]
the buffer for the result
- outputOffset
- Int32
the offset in output
where the result
is stored
Returns
the number of bytes stored in output
- Attributes
Exceptions
if the provided buffer is too small for the result key blob.
if error(s) occur during generation.
Remarks
Generates the exemption mechanism key blob, and stores the result in the output
buffer, starting at outputOffset
inclusive.
If the output
buffer is too small to hold the result, a ShortBufferException
is thrown. In this case, repeat this call with a larger output buffer. Use #engineGetOutputSize(int) engineGetOutputSize
to determine how big the output buffer should be.
Java documentation for javax.crypto.ExemptionMechanismSpi.engineGenExemptionBlob(byte[], 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.