public virtual IX509Selector GetTargetConstraints() { if (selector != null) { return((IX509Selector)selector.Clone()); } return(null); }
public virtual X509CertStoreSelector GetTargetCertConstraints() { if (certSelector == null) { return(null); } return((X509CertStoreSelector)certSelector.Clone()); }
public virtual void SetTargetConstraints(IX509Selector selector) { if (selector != null) { this.selector = (IX509Selector)selector.Clone(); return; } this.selector = null; }
public virtual void SetTargetCertConstraints(IX509Selector selector) { if (selector == null) { certSelector = null; } else { certSelector = (IX509Selector)selector.Clone(); } }
/** * Sets the required constraints on the target certificate or attribute * certificate. The constraints are specified as an instance of * <code>IX509Selector</code>. If <code>null</code>, no constraints are * defined. * <p> * The target certificate in a PKIX path may be a certificate or an * attribute certificate. * </p><p> * Note that the <code>IX509Selector</code> specified is cloned to protect * against subsequent modifications. * </p> * * @param selector a <code>IX509Selector</code> specifying the constraints on * the target certificate or attribute certificate (or * <code>null</code>) * @see #getTargetConstraints * @see X509CertStoreSelector * @see X509AttributeCertStoreSelector */ public virtual void SetTargetConstraints(IX509Selector selector) { if (selector != null) { this.selector = (IX509Selector) selector.Clone(); } else { this.selector = null; } }
/** * Sets the required constraints on the target certificate. The constraints * are specified as an instance of CertSelector. If null, no constraints are * defined.<br /> * <br /> * Note that the CertSelector specified is cloned to protect against * subsequent modifications. * * @param selector * a CertSelector specifying the constraints on the target * certificate (or <code>null</code>) * * @see #getTargetCertConstraints() */ public virtual void SetTargetCertConstraints( IX509Selector selector) { if (selector == null) { certSelector = null; } else { certSelector = (IX509Selector)selector.Clone(); } }