X509Certificate.GetSigAlgParams Method

Definition

Gets the DER-encoded signature algorithm parameters from this certificate's signature algorithm.

[Android.Runtime.Register("getSigAlgParams", "()[B", "GetGetSigAlgParamsHandler")]
public abstract byte[]? GetSigAlgParams ();
[<Android.Runtime.Register("getSigAlgParams", "()[B", "GetGetSigAlgParamsHandler")>]
abstract member GetSigAlgParams : unit -> byte[]

Returns

Byte[]

the DER-encoded signature algorithm parameters, or null if no parameters are present.

Attributes

Remarks

Gets the DER-encoded signature algorithm parameters from this certificate's signature algorithm. In most cases, the signature algorithm parameters are null; the parameters are usually supplied with the certificate's public key. If access to individual parameter values is needed then use java.security.AlgorithmParameters AlgorithmParameters and instantiate with the name returned by #getSigAlgName() getSigAlgName.

See #getSigAlgName() getSigAlgName for relevant ASN.1 definitions.

Java documentation for java.security.cert.X509Certificate.getSigAlgParams().

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