📄 cryptoexception.html
字号:
<BR> Returns the byte length of the signature data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#getR(byte[], short)">getR</A></B>(byte[] buffer, short offset)</CODE><BR> Returns the order of the fixed point G of the curve.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B>ECPrivateKey.</B><B><A HREF="../../../javacard/security/ECPrivateKey.html#getS(byte[], short)">getS</A></B>(byte[] buffer, short offset)</CODE><BR> Returns the value of the secret key in plaintext form.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> short</CODE></FONT></TD><TD><CODE><B>ECPublicKey.</B><B><A HREF="../../../javacard/security/ECPublicKey.html#getW(byte[], short)">getW</A></B>(byte[] buffer, short offset)</CODE><BR> Returns the point of the curve comprising the public key in plain text form.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>Checksum.</B><B><A HREF="../../../javacard/security/Checksum.html#init(byte[], short, short)">init</A></B>(byte[] bArray, short bOff, short bLen)</CODE><BR> Resets and initializes the <code>Checksum</code> object with the algorithm specific parameters.</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>SignatureMessageRecovery.</B><B><A HREF="../../../javacard/security/SignatureMessageRecovery.html#init(javacard.security.Key, byte)">init</A></B>(<A HREF="../../../javacard/security/Key.html" title="interface in javacard.security">Key</A> theKey, byte theMode)</CODE><BR> Initializes the <code>Signature</code> object with the appropriate <code>Key</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>Signature.</B><B><A HREF="../../../javacard/security/Signature.html#init(javacard.security.Key, byte)">init</A></B>(<A HREF="../../../javacard/security/Key.html" title="interface in javacard.security">Key</A> theKey, byte theMode)</CODE><BR> Initializes the <code>Signature</code> object with the appropriate <code>Key</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>Signature.</B><B><A HREF="../../../javacard/security/Signature.html#init(javacard.security.Key, byte, byte[], short, short)">init</A></B>(<A HREF="../../../javacard/security/Key.html" title="interface in javacard.security">Key</A> theKey, byte theMode, byte[] bArray, short bOff, short bLen)</CODE><BR> Initializes the <code>Signature</code> object with the appropriate <code>Key</code> and algorithm specific parameters.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>KeyAgreement.</B><B><A HREF="../../../javacard/security/KeyAgreement.html#init(javacard.security.PrivateKey)">init</A></B>(<A HREF="../../../javacard/security/PrivateKey.html" title="interface in javacard.security">PrivateKey</A> privKey)</CODE><BR> Initializes the object with the given private key.</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setA(byte[], short, short)">setA</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the first coefficient of the curve of the key.</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setB(byte[], short, short)">setB</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the second coefficient of the curve of the key.</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>RSAPrivateCrtKey.</B><B><A HREF="../../../javacard/security/RSAPrivateCrtKey.html#setDP1(byte[], short, short)">setDP1</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the value of the DP1 parameter.</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>RSAPrivateCrtKey.</B><B><A HREF="../../../javacard/security/RSAPrivateCrtKey.html#setDQ1(byte[], short, short)">setDQ1</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the value of the DQ1 parameter.</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>RSAPublicKey.</B><B><A HREF="../../../javacard/security/RSAPublicKey.html#setExponent(byte[], short, short)">setExponent</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the public exponent value of the key.</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>RSAPrivateKey.</B><B><A HREF="../../../javacard/security/RSAPrivateKey.html#setExponent(byte[], short, short)">setExponent</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the private exponent value of the key.</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setFieldF2M(short)">setFieldF2M</A></B>(short e)</CODE><BR> Sets the field specification parameter value for keys of type <CODE>TYPE_EC_F2M_PUBLIC</CODE> or <CODE>TYPE_EC_F2M_PRIVATE</CODE> in the case where the polynomial is a trinomial, of the form x^n + x^e + 1 (where n is the bit length of the key).</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setFieldF2M(short, short, short)">setFieldF2M</A></B>(short e1, short e2, short e3)</CODE><BR> Sets the field specification parameter value for keys of type <CODE>TYPE_EC_F2M_PUBLIC</CODE> or <CODE>TYPE_EC_F2M_PRIVATE</CODE> in the case where the polynomial is a pentanomial, of the form x^n + x^e1 + x^e2 + x^e3 + 1 (where n is the bit length of the key).</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setFieldFP(byte[], short, short)">setFieldFP</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the field specification parameter value for keys of type <CODE>TYPE_EC_FP_PRIVATE</CODE> or <CODE>TYPE_EC_FP_PUBLIC</CODE>.</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>ECKey.</B><B><A HREF="../../../javacard/security/ECKey.html#setG(byte[], short, short)">setG</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the fixed point of the curve.</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>DSAKey.</B><B><A HREF="../../../javacard/security/DSAKey.html#setG(byte[], short, short)">setG</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the base parameter value of the key.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>abstract void</CODE></FONT></TD><TD><CODE><B>InitializedMessageDigest.</B><B><A HREF="../../../javacard/security/InitializedMessageDigest.html#setInitialDigest(byte[], short, short, byte[], short, short)">setInitialDigest</A></B>(byte[] initialDigestBuf, short initialDigestOffset, short initialDigestLength, byte[] digestedMsgLenBuf, short digestedMsgLenOffset, short digestedMsgLenLength)</CODE><BR> This method initializes the starting hash value in place of the default value used by the <code>MessageDigest</code> superclass.</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>KoreanSEEDKey.</B><B><A HREF="../../../javacard/security/KoreanSEEDKey.html#setKey(byte[], short)">setKey</A></B>(byte[] keyData, short kOff)</CODE><BR> Sets the <code>Key</code> 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>DESKey.</B><B><A HREF="../../../javacard/security/DESKey.html#setKey(byte[], short)">setKey</A></B>(byte[] keyData, short kOff)</CODE><BR> Sets the <code>Key</code> 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>AESKey.</B><B><A HREF="../../../javacard/security/AESKey.html#setKey(byte[], short)">setKey</A></B>(byte[] keyData, short kOff)</CODE><BR> Sets the <code>Key</code> 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>HMACKey.</B><B><A HREF="../../../javacard/security/HMACKey.html#setKey(byte[], short, short)">setKey</A></B>(byte[] keyData, short kOff, short kLen)</CODE><BR> Sets the <code>Key</code> 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>RSAPublicKey.</B><B><A HREF="../../../javacard/security/RSAPublicKey.html#setModulus(byte[], short, short)">setModulus</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the modulus value of the key.</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>RSAPrivateKey.</B><B><A HREF="../../../javacard/security/RSAPrivateKey.html#setModulus(byte[], short, short)">setModulus</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the modulus value of the key.</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>RSAPrivateCrtKey.</B><B><A HREF="../../../javacard/security/RSAPrivateCrtKey.html#setP(byte[], short, short)">setP</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the value of the P parameter.</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>DSAKey.</B><B><A HREF="../../../javacard/security/DSAKey.html#setP(byte[], short, short)">setP</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the prime parameter value of the key.</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>RSAPrivateCrtKey.</B><B><A HREF="../../../javacard/security/RSAPrivateCrtKey.html#setPQ(byte[], short, short)">setPQ</A></B>(byte[] buffer, short offset, short length)</CODE><BR> Sets the value of the PQ parameter.</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>RSAPrivateCrtKey.</B><B><A HREF="../../../javacard/security/RSAPrivateCrtKey.html#setQ(byte[], short, short)">setQ</A></B>(byte[] buffer, short offset, short length)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -