📄 certificate.html
字号:
Gets the printable form of the serial number of this <CODE>Certificate</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/microedition/pki/Certificate.html#getSigAlgName()">getSigAlgName</A></B>()</CODE><BR> Gets the name of the algorithm used to sign the <CODE>Certificate</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/microedition/pki/Certificate.html#getSubject()">getSubject</A></B>()</CODE><BR> Gets the name of this certificate's subject.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/microedition/pki/Certificate.html#getType()">getType</A></B>()</CODE><BR> Get the type of the <CODE>Certificate</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/microedition/pki/Certificate.html#getVersion()">getVersion</A></B>()</CODE><BR> Gets the version number of this <CODE>Certificate</CODE>.</TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getSubject()"><!-- --></A><H3>getSubject</H3><PRE>public String <B>getSubject</B>()</PRE><DL><DD>Gets the name of this certificate's subject.<DD><DL><DT><B>Returns:</B><DD>The subject of this <CODE>Certificate</CODE>; the value MUST NOT be <CODE>null</CODE>.</DL></DD></DL><HR><A NAME="getIssuer()"><!-- --></A><H3>getIssuer</H3><PRE>public String <B>getIssuer</B>()</PRE><DL><DD>Gets the name of this certificate's issuer.<DD><DL><DT><B>Returns:</B><DD>The issuer of the <CODE>Certificate</CODE>; the value MUST NOT be <CODE>null</CODE>.</DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public String <B>getType</B>()</PRE><DL><DD>Get the type of the <CODE>Certificate</CODE>. For X.509 Certificates the value returned is "X.509".<DD><DL><DT><B>Returns:</B><DD>The type of the <CODE>Certificate</CODE>; the value MUST NOT be <CODE>null</CODE>.</DL></DD></DL><HR><A NAME="getVersion()"><!-- --></A><H3>getVersion</H3><PRE>public String <B>getVersion</B>()</PRE><DL><DD>Gets the version number of this <CODE>Certificate</CODE>. The format of the version number depends on the specific type and specification. For a X.509 certificate per RFC 2459 it would be "2".<DD><DL><DT><B>Returns:</B><DD>The version number of the <CODE>Certificate</CODE>; the value MUST NOT be <CODE>null</CODE>.</DL></DD></DL><HR><A NAME="getSigAlgName()"><!-- --></A><H3>getSigAlgName</H3><PRE>public String <B>getSigAlgName</B>()</PRE><DL><DD>Gets the name of the algorithm used to sign the <CODE>Certificate</CODE>. The algorithm names returned should be the labels defined in RFC2459 Section 7.2.<DD><DL><DT><B>Returns:</B><DD>The name of signature algorithm; the value MUST NOT be <CODE>null</CODE>.</DL></DD></DL><HR><A NAME="getNotBefore()"><!-- --></A><H3>getNotBefore</H3><PRE>public long <B>getNotBefore</B>()</PRE><DL><DD>Gets the time before which this <CODE>Certificate</CODE> may not be used from the validity period.<DD><DL><DT><B>Returns:</B><DD>The time in milliseconds before which the <CODE>Certificate</CODE> is not valid; it MUST be positive, <CODE>0</CODE> is returned if the certificate does not have its validity restricted based on the time.</DL></DD></DL><HR><A NAME="getNotAfter()"><!-- --></A><H3>getNotAfter</H3><PRE>public long <B>getNotAfter</B>()</PRE><DL><DD>Gets the time after which this <CODE>Certificate</CODE> may not be used from the validity period.<DD><DL><DT><B>Returns:</B><DD>The time in milliseconds after which the <CODE>Certificate</CODE> is not valid (expiration date); it MUST be positive; <CODE>Long.MAX_VALUE</CODE> is returned if the certificate does not have its validity restricted based on the time.</DL></DD></DL><HR><A NAME="getSerialNumber()"><!-- --></A><H3>getSerialNumber</H3><PRE>public String <B>getSerialNumber</B>()</PRE><DL><DD>Gets the printable form of the serial number of this <CODE>Certificate</CODE>. If the serial number within the <CODE>certificate</CODE> is binary it should be formatted as a string using the binary printable representation in class description. For example, 0C:56:FA:80.<DD><DL><DT><B>Returns:</B><DD>A string containing the serial number in user-friendly form; <CODE>null</CODE> is returned if there is no serial number.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Certificate.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><strong>MIDP 2.0</strong></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> PREV CLASS NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="Certificate.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="mailto:jsr-118-comments@jcp.org">Send a comment or suggestion</a> Version 2.0 of Mobile Information Device Profile Specification<br>Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -