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

📄 rolesyntax.html

📁 java非对称加密的源代码
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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="RoleSyntax(org.bouncycastle.asn1.x509.GeneralNames, org.bouncycastle.asn1.x509.GeneralName)"><!-- --></A><H3>RoleSyntax</H3><PRE>public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A>&nbsp;roleAuthority,                  <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A>&nbsp;roleName)</PRE><DL><DD>Constructor.<P><DL><DT><B>Parameters:</B><DD><CODE>roleAuthority</CODE> - the role authority of this RoleSyntax.<DD><CODE>roleName</CODE> - the role name of this RoleSyntax.</DL></DL><HR><A NAME="RoleSyntax(org.bouncycastle.asn1.x509.GeneralName)"><!-- --></A><H3>RoleSyntax</H3><PRE>public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A>&nbsp;roleName)</PRE><DL><DD>Constructor. Invoking this constructor is the same as invoking <code>new RoleSyntax(null, roleName)</code>.<P><DL><DT><B>Parameters:</B><DD><CODE>roleName</CODE> - the role name of this RoleSyntax.</DL></DL><HR><A NAME="RoleSyntax(java.lang.String)"><!-- --></A><H3>RoleSyntax</H3><PRE>public <B>RoleSyntax</B>(java.lang.String&nbsp;roleName)</PRE><DL><DD>Utility constructor. Takes a <code>String</code> argument representing the role name, builds a <code>GeneralName</code> to hold the role name and calls the constructor that takes a <code>GeneralName</code>.<P><DL><DT><B>Parameters:</B><DD><CODE>roleName</CODE> - </DL></DL><HR><A NAME="RoleSyntax(org.bouncycastle.asn1.ASN1Sequence)"><!-- --></A><H3>RoleSyntax</H3><PRE>public <B>RoleSyntax</B>(<A HREF="../../../../org/bouncycastle/asn1/ASN1Sequence.html" title="class in org.bouncycastle.asn1">ASN1Sequence</A>&nbsp;seq)</PRE><DL><DD>Constructor that builds an instance of <code>RoleSyntax</code> by extracting the encoded elements from the <code>ASN1Sequence</code> object supplied.<P><DL><DT><B>Parameters:</B><DD><CODE>seq</CODE> - an instance of <code>ASN1Sequence</code> that holds the encoded elements used to build this <code>RoleSyntax</code>.</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(java.lang.Object)"><!-- --></A><H3>getInstance</H3><PRE>public static <A HREF="../../../../org/bouncycastle/asn1/x509/RoleSyntax.html" title="class in org.bouncycastle.asn1.x509">RoleSyntax</A> <B>getInstance</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>RoleSyntax factory method.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object used to construct an instance of <code> RoleSyntax</code>. It must be an instance of <code>RoleSyntax </code> or <code>ASN1Sequence</code>.<DT><B>Returns:</B><DD>the instance of <code>RoleSyntax</code> built from the supplied object.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if the object passed to the factory is not an instance of <code>RoleSyntax</code> or <code>ASN1Sequence</code>.</DL></DD></DL><HR><A NAME="getRoleAuthority()"><!-- --></A><H3>getRoleAuthority</H3><PRE>public <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralNames.html" title="class in org.bouncycastle.asn1.x509">GeneralNames</A> <B>getRoleAuthority</B>()</PRE><DL><DD>Gets the role authority of this RoleSyntax.<P><DD><DL><DT><B>Returns:</B><DD>an instance of <code>GeneralNames</code> holding the role authority of this RoleSyntax.</DL></DD></DL><HR><A NAME="getRoleName()"><!-- --></A><H3>getRoleName</H3><PRE>public <A HREF="../../../../org/bouncycastle/asn1/x509/GeneralName.html" title="class in org.bouncycastle.asn1.x509">GeneralName</A> <B>getRoleName</B>()</PRE><DL><DD>Gets the role name of this RoleSyntax.<P><DD><DL><DT><B>Returns:</B><DD>an instance of <code>GeneralName</code> holding the role name of this RoleSyntax.</DL></DD></DL><HR><A NAME="getRoleNameAsString()"><!-- --></A><H3>getRoleNameAsString</H3><PRE>public java.lang.String <B>getRoleNameAsString</B>()</PRE><DL><DD>Gets the role name as a <code>java.lang.String</code> object.<P><DD><DL><DT><B>Returns:</B><DD>the role name of this RoleSyntax represented as a  <code>java.lang.String</code> object.</DL></DD></DL><HR><A NAME="getRoleAuthorityAsString()"><!-- --></A><H3>getRoleAuthorityAsString</H3><PRE>public java.lang.String[] <B>getRoleAuthorityAsString</B>()</PRE><DL><DD>Gets the role authority as a <code>String[]</code> object.<P><DD><DL><DT><B>Returns:</B><DD>the role authority of this RoleSyntax represented as a <code>String[]</code> array.</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>Implementation of the method <code>toASN1Object</code> as required by the superclass <code>ASN1Encodable</code>.  <pre> RoleSyntax ::= SEQUENCE {                 roleAuthority  [0] GeneralNames OPTIONAL,                 roleName       [1] GeneralName           }  </pre><P><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="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><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Bouncy Castle Cryptography Library 1.38</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/bouncycastle/asn1/x509/ReasonFlags.html" title="class in org.bouncycastle.asn1.x509"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/bouncycastle/asn1/x509/RSAPublicKeyStructure.html" title="class in org.bouncycastle.asn1.x509"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/bouncycastle/asn1/x509/RoleSyntax.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="RoleSyntax.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.bouncycastle.asn1.ASN1Encodable">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

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