AlgorithmParameters.Init 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
Init(IAlgorithmParameterSpec) |
Initializes this parameter object using the parameters
specified in |
Init(Byte[]) |
Imports the specified parameters and decodes them according to the primary decoding format for parameters. |
Init(Byte[], String) |
Imports the parameters from |
Init(IAlgorithmParameterSpec)
Initializes this parameter object using the parameters
specified in paramSpec
.
[Android.Runtime.Register("init", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "")]
public void Init (Java.Security.Spec.IAlgorithmParameterSpec? paramSpec);
[<Android.Runtime.Register("init", "(Ljava/security/spec/AlgorithmParameterSpec;)V", "")>]
member this.Init : Java.Security.Spec.IAlgorithmParameterSpec -> unit
Parameters
- paramSpec
- IAlgorithmParameterSpec
the parameter specification.
- Attributes
Exceptions
if this AlgorithmParameters
has already been
initialized or the given paramSpec
is not appropriate
for initializing this AlgorithmParameters
.
Remarks
Initializes this parameter object using the parameters specified in paramSpec
.
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
Init(Byte[])
Imports the specified parameters and decodes them according to the primary decoding format for parameters.
[Android.Runtime.Register("init", "([B)V", "")]
public void Init (byte[]? params);
[<Android.Runtime.Register("init", "([B)V", "")>]
member this.Init : byte[] -> unit
Parameters
- params
- Byte[]
the encoded parameters.
- Attributes
Exceptions
if this AlgorithmParameters
has already been
initialized, or the parameter could not be encoded.
Remarks
Imports the specified parameters and decodes them according to the primary decoding format for parameters. The primary decoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
Java documentation for java.security.AlgorithmParameters.init(byte[])
.
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
Init(Byte[], String)
Imports the parameters from params
and decodes them
according to the specified decoding scheme.
[Android.Runtime.Register("init", "([BLjava/lang/String;)V", "")]
public void Init (byte[]? params, string? format);
[<Android.Runtime.Register("init", "([BLjava/lang/String;)V", "")>]
member this.Init : byte[] * string -> unit
Parameters
- params
- Byte[]
the encoded parameters.
- format
- String
the name of the decoding scheme.
- Attributes
Exceptions
if this AlgorithmParameters
has already been
initialized, or the parameter could not be encoded.
Remarks
Imports the parameters from params
and decodes them according to the specified decoding scheme. If format
is null, the primary decoding format for parameters is used. The primary decoding format is ASN.1, if an ASN.1 specification for these parameters exists.
Java documentation for java.security.AlgorithmParameters.init(byte[], 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.