⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 x509name.html

📁 kjlj oipipi poipoipo ipo [pipoi
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<PRE>public <B>X509Name</B>(java.util.Vector&nbsp;ordering,                java.util.Hashtable&nbsp;attributes)</PRE><DL><DD>Constructor from a table of attributes with ordering. <p> it's is assumed the table contains OID/String pairs, and the contents of the table are copied into an internal table as part of the construction process. The ordering vector should contain the OIDs in the order they are meant to be encoded or printed in toString.<P></DL><HR><A NAME="X509Name(java.util.Vector, java.util.Hashtable, org.bouncycastle.asn1.x509.X509NameEntryConverter)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(java.util.Vector&nbsp;ordering,                java.util.Hashtable&nbsp;attributes,                <A HREF="../../../../org/bouncycastle/asn1/x509/X509NameEntryConverter.html" title="class in org.bouncycastle.asn1.x509">X509NameEntryConverter</A>&nbsp;converter)</PRE><DL><DD>Constructor from a table of attributes with ordering. <p> it's is assumed the table contains OID/String pairs, and the contents of the table are copied into an internal table as part of the construction process. The ordering vector should contain the OIDs in the order they are meant to be encoded or printed in toString. <p> The passed in converter will be used to convert the strings into their ASN.1 counterparts.<P></DL><HR><A NAME="X509Name(java.util.Vector, java.util.Vector)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(java.util.Vector&nbsp;oids,                java.util.Vector&nbsp;values)</PRE><DL><DD>Takes two vectors one of the oids and the other of the values.<P></DL><HR><A NAME="X509Name(java.util.Vector, java.util.Vector, org.bouncycastle.asn1.x509.X509NameEntryConverter)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(java.util.Vector&nbsp;oids,                java.util.Vector&nbsp;values,                <A HREF="../../../../org/bouncycastle/asn1/x509/X509NameEntryConverter.html" title="class in org.bouncycastle.asn1.x509">X509NameEntryConverter</A>&nbsp;converter)</PRE><DL><DD>Takes two vectors one of the oids and the other of the values. <p> The passed in converter will be used to convert the strings into their ASN.1 counterparts.<P></DL><HR><A NAME="X509Name(java.lang.String)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(java.lang.String&nbsp;dirName)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes.<P></DL><HR><A NAME="X509Name(java.lang.String, org.bouncycastle.asn1.x509.X509NameEntryConverter)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(java.lang.String&nbsp;dirName,                <A HREF="../../../../org/bouncycastle/asn1/x509/X509NameEntryConverter.html" title="class in org.bouncycastle.asn1.x509">X509NameEntryConverter</A>&nbsp;converter)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes with each string value being converted to its associated ASN.1 type using the passed in converter.<P></DL><HR><A NAME="X509Name(boolean, java.lang.String)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(boolean&nbsp;reverse,                java.lang.String&nbsp;dirName)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. If reverse is true, create the encoded version of the sequence starting from the last element in the string.<P></DL><HR><A NAME="X509Name(boolean, java.lang.String, org.bouncycastle.asn1.x509.X509NameEntryConverter)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(boolean&nbsp;reverse,                java.lang.String&nbsp;dirName,                <A HREF="../../../../org/bouncycastle/asn1/x509/X509NameEntryConverter.html" title="class in org.bouncycastle.asn1.x509">X509NameEntryConverter</A>&nbsp;converter)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes with each string value being converted to its associated ASN.1 type using the passed in converter. If reverse is true the ASN.1 sequence representing the DN will be built by starting at the end of the string, rather than the start.<P></DL><HR><A NAME="X509Name(boolean, java.util.Hashtable, java.lang.String)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(boolean&nbsp;reverse,                java.util.Hashtable&nbsp;lookUp,                java.lang.String&nbsp;dirName)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. lookUp should provide a table of lookups, indexed by lowercase only strings and yielding a DERObjectIdentifier, other than that OID. and numeric oids will be processed automatically. <br> If reverse is true, create the encoded version of the sequence starting from the last element in the string.<P><DL><DT><B>Parameters:</B><DD><CODE>reverse</CODE> - true if we should start scanning from the end (RFC 2553).<DD><CODE>lookUp</CODE> - table of names and their oids.<DD><CODE>dirName</CODE> - the X.500 string to be parsed.</DL></DL><HR><A NAME="X509Name(boolean, java.util.Hashtable, java.lang.String, org.bouncycastle.asn1.x509.X509NameEntryConverter)"><!-- --></A><H3>X509Name</H3><PRE>public <B>X509Name</B>(boolean&nbsp;reverse,                java.util.Hashtable&nbsp;lookUp,                java.lang.String&nbsp;dirName,                <A HREF="../../../../org/bouncycastle/asn1/x509/X509NameEntryConverter.html" title="class in org.bouncycastle.asn1.x509">X509NameEntryConverter</A>&nbsp;converter)</PRE><DL><DD>Takes an X509 dir name as a string of the format "C=AU, ST=Victoria", or some such, converting it into an ordered set of name attributes. lookUp should provide a table of lookups, indexed by lowercase only strings and yielding a DERObjectIdentifier, other than that OID. and numeric oids will be processed automatically. The passed in converter is used to convert the string values to the right of each equals sign to their ASN.1 counterparts. <br><P><DL><DT><B>Parameters:</B><DD><CODE>reverse</CODE> - true if we should start scanning from the end, false otherwise.<DD><CODE>lookUp</CODE> - table of names and oids.<DD><CODE>dirName</CODE> - the string dirName<DD><CODE>converter</CODE> - the converter to convert string values into their ASN.1 equivalents</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="getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../org/bouncycastle/asn1/x509/X509Name.html" title="class in org.bouncycastle.asn1.x509">X509Name</A> <B>getInstance</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1TaggedObject.html" title="class in org.bouncycastle.asn1">ASN1TaggedObject</A>&nbsp;obj,                                   boolean&nbsp;explicit)</PRE><DL><DD>Return a X509Name based on the passed in tagged object.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - tag object holding name.<DD><CODE>explicit</CODE> - true if explicitly tagged false otherwise.<DT><B>Returns:</B><DD>the X509Name</DL></DD></DL><HR><A NAME="getInstance(java.lang.Object)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../org/bouncycastle/asn1/x509/X509Name.html" title="class in org.bouncycastle.asn1.x509">X509Name</A> <B>getInstance</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getOIDs()"><!-- --></A><H3>getOIDs</H3><PRE>public java.util.Vector <B>getOIDs</B>()</PRE><DL><DD>return a vector of the oids in the name, in the order they were found.<P><DD><DL></DL></DD></DL><HR><A NAME="getValues()"><!-- --></A><H3>getValues</H3><PRE>public java.util.Vector <B>getValues</B>()</PRE><DL><DD>return a vector of the values found in the name, in the order they were found.<P><DD><DL></DL></DD></DL><HR><A NAME="getValues(org.bouncycastle.asn1.DERObjectIdentifier)"><!-- --></A><H3>getValues</H3><PRE>public java.util.Vector <B>getValues</B>(<A HREF="../../../../org/bouncycastle/asn1/DERObjectIdentifier.html" title="class in org.bouncycastle.asn1">DERObjectIdentifier</A>&nbsp;oid)</PRE><DL><DD>return a vector of the values found in the name, in the order they were found, with the DN label corresponding to passed in oid.<P><DD><DL></DL></DD></DL><HR><A NAME="toASN1Object()"><!-- --></A><H3>toASN1Object</H3><PRE>public <A HREF="../../../../org/bouncycastle/asn1/DERObject.html" title="class in org.bouncycastle.asn1">DERObject</A> <B>toASN1Object</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#toASN1Object()">toASN1Object</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="equals(java.lang.Object, boolean)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj,                      boolean&nbsp;inOrder)</PRE><DL><DD><DL><DT><B>Parameters:</B><DD><CODE>inOrder</CODE> - if true the order of both X509 names must be the same, as well as the values associated with each element.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>test for equality - note: case is ignored.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/bouncycastle/asn1/ASN1Encodable.html" title="class in org.bouncycastle.asn1">ASN1Encodable</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="toString(boolean, java.util.Hashtable)"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>(boolean&nbsp;reverse,                                 java.util.Hashtable&nbsp;oidSymbols)</PRE><DL><DD>convert the structure to a string - if reverse is true the oids and values are listed out starting with the last element in the sequence (ala RFC 2253), otherwise the string will begin with the first element of the structure. If no string definition for the oid is found in oidSymbols the string value of the oid is added. Two standard symbol tables are provided DefaultSymbols, and RFC2253Symbols as part of this class.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>reverse</CODE> - if true start at the end of the sequence and work back.<DD><CODE>oidSymbols</CODE> - look up table strings for oids.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD><DL><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL></DL></DD></DL><!-- =======

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -