Sdílet prostřednictvím


PKIXParameters.TargetCertConstraints Property

Definition

Returns the required constraints on the target certificate. -or- Sets the required constraints on the target certificate.

public virtual Java.Security.Cert.ICertSelector? TargetCertConstraints { [Android.Runtime.Register("getTargetCertConstraints", "()Ljava/security/cert/CertSelector;", "GetGetTargetCertConstraintsHandler")] get; [Android.Runtime.Register("setTargetCertConstraints", "(Ljava/security/cert/CertSelector;)V", "GetSetTargetCertConstraints_Ljava_security_cert_CertSelector_Handler")] set; }
[<get: Android.Runtime.Register("getTargetCertConstraints", "()Ljava/security/cert/CertSelector;", "GetGetTargetCertConstraintsHandler")>]
[<set: Android.Runtime.Register("setTargetCertConstraints", "(Ljava/security/cert/CertSelector;)V", "GetSetTargetCertConstraints_Ljava_security_cert_CertSelector_Handler")>]
member this.TargetCertConstraints : Java.Security.Cert.ICertSelector with get, set

Property Value

a CertSelector specifying the constraints on the target certificate (or null)

Attributes

Remarks

Property getter documentation:

Returns the required constraints on the target certificate. The constraints are returned as an instance of CertSelector. If null, no constraints are defined.

Note that the CertSelector returned is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.PKIXParameters.getTargetCertConstraints().

Property setter documentation:

Sets the required constraints on the target certificate. The constraints are specified as an instance of CertSelector. If null, no constraints are defined.

Note that the CertSelector specified is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.PKIXParameters.setTargetCertConstraints(java.security.cert.CertSelector).

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