📄 x509attributecertstoreselector.html
字号:
<CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html#setHolder(org.bouncycastle.x509.AttributeCertificateHolder)">setHolder</A></B>(<A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A> holder)</CODE><BR> Sets the holder.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html#setIssuer(org.bouncycastle.x509.AttributeCertificateIssuer)">setIssuer</A></B>(<A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A> issuer)</CODE><BR> Sets the issuer the attribute certificate must have.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html#setSerialNumber(java.math.BigInteger)">setSerialNumber</A></B>(java.math.BigInteger serialNumber)</CODE><BR> Sets the serial number the attribute certificate must have.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html#setTargetGroups(java.util.Collection)">setTargetGroups</A></B>(java.util.Collection names)</CODE><BR> Adds a collection with target groups criteria.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/bouncycastle/x509/X509AttributeCertStoreSelector.html#setTargetNames(java.util.Collection)">setTargetNames</A></B>(java.util.Collection names)</CODE><BR> Adds a collection with target names criteria.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="X509AttributeCertStoreSelector()"><!-- --></A><H3>X509AttributeCertStoreSelector</H3><PRE>public <B>X509AttributeCertStoreSelector</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="match(java.lang.Object)"><!-- --></A><H3>match</H3><PRE>public boolean <B>match</B>(java.lang.Object obj)</PRE><DL><DD>Decides if the given attribute certificate should be selected.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/util/Selector.html#match(java.lang.Object)">match</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - The attribute certificate which should be checked.<DT><B>Returns:</B><DD><code>true</code> if the attribute certificate can be selected, <code>false</code> otherwise.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()</PRE><DL><DD>Returns a clone of this object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/bouncycastle/util/Selector.html#clone()">clone</A></CODE> in interface <CODE><A HREF="../../../org/bouncycastle/util/Selector.html" title="interface in org.bouncycastle.util">Selector</A></CODE><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the clone.</DL></DD></DL><HR><A NAME="getAttributeCert()"><!-- --></A><H3>getAttributeCert</H3><PRE>public <A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A> <B>getAttributeCert</B>()</PRE><DL><DD>Returns the attribute certificate which must be matched.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the attribute certificate.</DL></DD></DL><HR><A NAME="setAttributeCert(org.bouncycastle.x509.X509AttributeCertificate)"><!-- --></A><H3>setAttributeCert</H3><PRE>public void <B>setAttributeCert</B>(<A HREF="../../../org/bouncycastle/x509/X509AttributeCertificate.html" title="interface in org.bouncycastle.x509">X509AttributeCertificate</A> attributeCert)</PRE><DL><DD>Set the attribute certificate to be matched. If <code>null</code> is given any will do.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeCert</CODE> - The attribute certificate to set.</DL></DD></DL><HR><A NAME="getAttributeCertificateValid()"><!-- --></A><H3>getAttributeCertificateValid</H3><PRE>public java.util.Date <B>getAttributeCertificateValid</B>()</PRE><DL><DD>Get the criteria for the validity.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the attributeCertificateValid.</DL></DD></DL><HR><A NAME="setAttributeCertificateValid(java.util.Date)"><!-- --></A><H3>setAttributeCertificateValid</H3><PRE>public void <B>setAttributeCertificateValid</B>(java.util.Date attributeCertificateValid)</PRE><DL><DD>Set the time, when the certificate must be valid. If <code>null</code> is given any will do.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeCertificateValid</CODE> - The attribute certificate validation time to set.</DL></DD></DL><HR><A NAME="getHolder()"><!-- --></A><H3>getHolder</H3><PRE>public <A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A> <B>getHolder</B>()</PRE><DL><DD>Gets the holder.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the holder.</DL></DD></DL><HR><A NAME="setHolder(org.bouncycastle.x509.AttributeCertificateHolder)"><!-- --></A><H3>setHolder</H3><PRE>public void <B>setHolder</B>(<A HREF="../../../org/bouncycastle/x509/AttributeCertificateHolder.html" title="class in org.bouncycastle.x509">AttributeCertificateHolder</A> holder)</PRE><DL><DD>Sets the holder. If <code>null</code> is given any will do.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>holder</CODE> - The holder to set.</DL></DD></DL><HR><A NAME="getIssuer()"><!-- --></A><H3>getIssuer</H3><PRE>public <A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A> <B>getIssuer</B>()</PRE><DL><DD>Returns the issuer criterion.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the issuer.</DL></DD></DL><HR><A NAME="setIssuer(org.bouncycastle.x509.AttributeCertificateIssuer)"><!-- --></A><H3>setIssuer</H3><PRE>public void <B>setIssuer</B>(<A HREF="../../../org/bouncycastle/x509/AttributeCertificateIssuer.html" title="class in org.bouncycastle.x509">AttributeCertificateIssuer</A> issuer)</PRE><DL><DD>Sets the issuer the attribute certificate must have. If <code>null</code> is given any will do.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>issuer</CODE> - The issuer to set.</DL></DD></DL><HR><A NAME="getSerialNumber()"><!-- --></A><H3>getSerialNumber</H3><PRE>public java.math.BigInteger <B>getSerialNumber</B>()</PRE><DL><DD>Gets the serial number the attribute certificate must have.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>Returns the serialNumber.</DL></DD></DL><HR><A NAME="setSerialNumber(java.math.BigInteger)"><!-- --></A><H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -