📄 cryptoexception.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B>RSA.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSA.html#getPrivatekey()">getPrivatekey</A></B>()</CODE><BR> get the RSA private key data</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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPublicExponent(byte[], int, int)">setPublicExponent</A></B>(byte[] exp, int offset, int len)</CODE><BR> Store the exponent as restricted by our size.</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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPrivateExponent(byte[], int, int)">setPrivateExponent</A></B>(byte[] exp, int offset, int len)</CODE><BR> </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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setModulus(byte[], int, int)">setModulus</A></B>(byte[] mod, int offset, int len)</CODE><BR> Store the modulus as restricted by our size.</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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPrimeP(byte[], int, int)">setPrimeP</A></B>(byte[] prP, int offset, int length)</CODE><BR> </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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPrimeQ(byte[], int, int)">setPrimeQ</A></B>(byte[] prQ, int offset, int length)</CODE><BR> </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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPrimeExponentP(byte[], int, int)">setPrimeExponentP</A></B>(byte[] pExpP, int offset, int length)</CODE><BR> d mod(p - 1)</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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setPrimeExponentQ(byte[], int, int)">setPrimeExponentQ</A></B>(byte[] pExpQ, int offset, int length)</CODE><BR> d mod(q - 1)</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>RSAKey.</B><B><A HREF="../../../../jxta/security/impl/publickey/RSAKey.html#setCrtCoefficient(byte[], int, int)">setCrtCoefficient</A></B>(byte[] crtCo, int offset, int length)</CODE><BR> 1/q mod p</TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../jxta/security/impl/publickey/package-summary.html">jxta.security.impl.publickey</A> that throw <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../jxta/security/impl/publickey/RSA.html#RSA(jxta.security.impl.publickey.RSAKey)">RSA</A></B>(<A HREF="../../../../jxta/security/impl/publickey/RSAKey.html" title="class in jxta.security.impl.publickey">RSAKey</A> rKey)</CODE><BR> Note: KeyBuilder must be called prior to instantiating this class to set the appropriate size.</TD></TR></TABLE> <P><A NAME="jxta.security.impl.random"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A> in <A HREF="../../../../jxta/security/impl/random/package-summary.html">jxta.security.impl.random</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Constructors in <A HREF="../../../../jxta/security/impl/random/package-summary.html">jxta.security.impl.random</A> that throw <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../jxta/security/impl/random/JRandom.html#JRandom()">JRandom</A></B>()</CODE><BR> Required constructors</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><B><A HREF="../../../../jxta/security/impl/random/JRandom.html#JRandom(long)">JRandom</A></B>(long lseed)</CODE><BR> </TD></TR></TABLE> <P><A NAME="jxta.security.impl.signature"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A> in <A HREF="../../../../jxta/security/impl/signature/package-summary.html">jxta.security.impl.signature</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../jxta/security/impl/signature/package-summary.html">jxta.security.impl.signature</A> that throw <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A></FONT></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>RSASignature.</B><B><A HREF="../../../../jxta/security/impl/signature/RSASignature.html#init(byte)">init</A></B>(byte theMode)</CODE><BR> initialize the Signature mode - sign or verify</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>RSASignature.</B><B><A HREF="../../../../jxta/security/impl/signature/RSASignature.html#update(byte[], int, int)">update</A></B>(byte[] inbuf, int offset, int length)</CODE><BR> updates data to be signed. </TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B>RSASignature.</B><B><A HREF="../../../../jxta/security/impl/signature/RSASignature.html#sign(byte[], int, int)">sign</A></B>(byte[] inbuf, int offset, int inLength)</CODE><BR> Signs the hash generated from the last(only) buffer of data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>RSASignature.</B><B><A HREF="../../../../jxta/security/impl/signature/RSASignature.html#verify(byte[], int, int, byte[], int, int)">verify</A></B>(byte[] inBuf, int inOffset, int inLength, byte[] sigBuf, int sigOffset, int sigLength)</CODE><BR> Verifies a signature for last/only inBuf against the signature in sigBuf. </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>NullSignature.</B><B><A HREF="../../../../jxta/security/impl/signature/NullSignature.html#init(byte)">init</A></B>(byte theMode)</CODE><BR> initialize the Signature object behaviour</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>NullSignature.</B><B><A HREF="../../../../jxta/security/impl/signature/NullSignature.html#update(byte[], int, int)">update</A></B>(byte[] inbuf, int offset, int length)</CODE><BR> updates data to be signed.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> byte[]</CODE></FONT></TD><TD><CODE><B>NullSignature.</B><B><A HREF="../../../../jxta/security/impl/signature/NullSignature.html#sign(byte[], int, int)">sign</A></B>(byte[] inbuff, int offset, int inLength)</CODE><BR> signs the last buffer of data (may be the only buffer)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B>NullSignature.</B><B><A HREF="../../../../jxta/security/impl/signature/NullSignature.html#verify(byte[], int, int, byte[], int, int)">verify</A></B>(byte[] inBuff, int inOffset, int inLength, byte[] sigBuff, int sigOffset, int sigLength)</CODE><BR> Verifies a signature for last/only inBuff against the signature in sigBuff. </TD></TR></TABLE> <P><A NAME="jxta.security.mac"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2">Uses of <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A> in <A HREF="../../../../jxta/security/mac/package-summary.html">jxta.security.mac</A></FONT></TD></TR></TABLE> <P><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../../jxta/security/mac/package-summary.html">jxta.security.mac</A> that throw <A HREF="../../../../jxta/security/exceptions/CryptoException.html" title="class in jxta.security.exceptions">CryptoException</A></FONT></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>MAC.</B><B><A HREF="../../../../jxta/security/mac/MAC.html#init(byte, jxta.security.cipher.Key, byte[])">init</A></B>(byte theMode, <A HREF="../../../../jxta/security/cipher/Key.html" title="interface in jxta.security.cipher">Key</A> theKey, byte[] privateKey)</CODE><BR> initialize the MAC object behaviour</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>MAC.</B><B><A HREF="../../../../jxta/security/mac/MAC.html#update(byte[], int, int)">update</A></B>(byte[] inbuf, int offset, int length)</CODE><BR> updates data to be encrypted.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -