共用方式為


ExtendedSSLSession.GetPeerSupportedSignatureAlgorithms Method

Definition

Obtains an array of supported signature algorithms that the peer is able to use.

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

Returns

String[]

An array of supported signature algorithms, in descending order of preference. The return value is an empty array if the peer has not sent the supported signature algorithms.

Attributes

Remarks

Obtains an array of supported signature algorithms that the peer is able to use.

Note: this method is used to indicate to the local side 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.

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

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