X509CertSelector.Certificate Property
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 certificateEquals criterion. -or- Sets the certificateEquals criterion.
public virtual Java.Security.Cert.X509Certificate? Certificate { [Android.Runtime.Register("getCertificate", "()Ljava/security/cert/X509Certificate;", "GetGetCertificateHandler")] get; [Android.Runtime.Register("setCertificate", "(Ljava/security/cert/X509Certificate;)V", "GetSetCertificate_Ljava_security_cert_X509Certificate_Handler")] set; }
[<get: Android.Runtime.Register("getCertificate", "()Ljava/security/cert/X509Certificate;", "GetGetCertificateHandler")>]
[<set: Android.Runtime.Register("setCertificate", "(Ljava/security/cert/X509Certificate;)V", "GetSetCertificate_Ljava_security_cert_X509Certificate_Handler")>]
member this.Certificate : Java.Security.Cert.X509Certificate with get, set
Property Value
the X509Certificate
to match (or null
)
- Attributes
Remarks
Property getter documentation:
Returns the certificateEquals criterion. The specified X509Certificate
must be equal to the X509Certificate
passed to the match
method. If null
, this check is not applied.
Java documentation for java.security.cert.X509CertSelector.getCertificate()
.
Property setter documentation:
Sets the certificateEquals criterion. The specified X509Certificate
must be equal to the X509Certificate
passed to the match
method. If null
, then this check is not applied.
This method is particularly useful when it is necessary to match a single certificate. Although other criteria can be specified in conjunction with the certificateEquals criterion, it is usually not practical or necessary.
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.