Share via


AlgorithmParametersSpi.EngineGetEncoded Method

Definition

Overloads

EngineGetEncoded()

Returns the parameters in their primary encoding format.

EngineGetEncoded(String)

Returns the parameters encoded in the specified format.

EngineGetEncoded()

Returns the parameters in their primary encoding format.

[Android.Runtime.Register("engineGetEncoded", "()[B", "GetEngineGetEncodedHandler")]
protected abstract byte[]? EngineGetEncoded ();
[<Android.Runtime.Register("engineGetEncoded", "()[B", "GetEngineGetEncodedHandler")>]
abstract member EngineGetEncoded : unit -> byte[]

Returns

Byte[]

the parameters encoded using their primary encoding format.

Attributes

Exceptions

if this AlgorithmParametersSpi has already been initialized, or if this parameters could not be encoded.

Remarks

Returns the parameters in their primary encoding format. The primary encoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.

Java documentation for java.security.AlgorithmParametersSpi.engineGetEncoded().

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

EngineGetEncoded(String)

Returns the parameters encoded in the specified format.

[Android.Runtime.Register("engineGetEncoded", "(Ljava/lang/String;)[B", "GetEngineGetEncoded_Ljava_lang_String_Handler")]
protected abstract byte[]? EngineGetEncoded (string? format);
[<Android.Runtime.Register("engineGetEncoded", "(Ljava/lang/String;)[B", "GetEngineGetEncoded_Ljava_lang_String_Handler")>]
abstract member EngineGetEncoded : string -> byte[]

Parameters

format
String

the name of the encoding format.

Returns

Byte[]

the parameters encoded using the specified encoding scheme.

Attributes

Exceptions

if this AlgorithmParametersSpi has already been initialized, or if this parameters could not be encoded.

Remarks

Returns the parameters encoded in the specified format. If format is null, the primary encoding format for parameters is used. The primary encoding format is ASN.1, if an ASN.1 specification for these parameters exists.

Java documentation for java.security.AlgorithmParametersSpi.engineGetEncoded(java.lang.String).

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