ExtendedSSLSession.GetLocalSupportedSignatureAlgorithms Method

Definition

Obtains an array of supported signature algorithms that the local side is willing to use.

[Android.Runtime.Register("getLocalSupportedSignatureAlgorithms", "()[Ljava/lang/String;", "GetGetLocalSupportedSignatureAlgorithmsHandler", ApiSince=24)]
public abstract string[]? GetLocalSupportedSignatureAlgorithms ();
[<Android.Runtime.Register("getLocalSupportedSignatureAlgorithms", "()[Ljava/lang/String;", "GetGetLocalSupportedSignatureAlgorithmsHandler", ApiSince=24)>]
abstract member GetLocalSupportedSignatureAlgorithms : unit -> string[]

Returns

String[]

An array of supported signature algorithms, in descending order of preference. The return value is an empty array if no signature algorithm is supported.

Attributes

Remarks

Obtains an array of supported signature algorithms that the local side is willing to use.

Note: this method is used to indicate to the peer which signature algorithms may be used for digital signatures in TLS 1.2. It is not meaningful for TLS versions prior to 1.2.

The signature algorithm name must be a standard Java Security name (such as "SHA1withRSA", "SHA256withECDSA", and so on). See Appendix A in the Java Cryptography Architecture API Specification & Reference for information about standard algorithm names.

Note: the local supported signature algorithms should conform to the algorithm constraints specified by SSLParameters#getAlgorithmConstraints getAlgorithmConstraints() method in SSLParameters.

Java documentation for javax.net.ssl.ExtendedSSLSession.getLocalSupportedSignatureAlgorithms().

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