StrictHostnameVerifier.Verify(String, String[], String[]) 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.
Verifies a hostname using strict wildcard matching.
[Android.Runtime.Register("verify", "(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V", "")]
public override sealed void Verify(string? host, string[]? cns, string[]? subjectAlts);
[<Android.Runtime.Register("verify", "(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V", "")>]
override this.Verify : string * string[] * string[] -> unit
Parameters
- host
- String
The hostname to verify.
- cns
- String[]
The common-name fields extracted from the certificate.
- subjectAlts
- String[]
The DNS subject-alternative-name fields extracted from the certificate.
- Attributes
Exceptions
Remarks
Portions of this page are based on work created and shared by the Apache Software Foundation and used under the terms of the Apache License, Version 2.0.