X509CertSelector.GetKeyUsage 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.
Returns the keyUsage criterion.
[Android.Runtime.Register("getKeyUsage", "()[Z", "GetGetKeyUsageHandler")]
public virtual bool[]? GetKeyUsage ();
[<Android.Runtime.Register("getKeyUsage", "()[Z", "GetGetKeyUsageHandler")>]
abstract member GetKeyUsage : unit -> bool[]
override this.GetKeyUsage : unit -> bool[]
Returns
a boolean array in the same format as the boolean
array returned by
X509Certificate#getKeyUsage() X509Certificate.getKeyUsage()
.
Or null
.
- Attributes
Remarks
Returns the keyUsage criterion. The X509Certificate
must allow the specified keyUsage values. If null, no keyUsage check will be done.
Note that the boolean array returned is cloned to protect against subsequent modifications.
Java documentation for java.security.cert.X509CertSelector.getKeyUsage()
.
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.