📄 cmssigneddatastreamgenerator.html
字号:
<A NAME="setBufferSize(int)"><!-- --></A><H3>setBufferSize</H3><PRE>public void <B>setBufferSize</B>(int bufferSize)</PRE><DL><DD>Set the underlying string size for encapsulated data<P><DD><DL><DT><B>Parameters:</B><DD><CODE>bufferSize</CODE> - length of octet strings to buffer the data.</DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, java.lang.String)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, java.lang.String sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer - no attributes other than the default ones will be provided here.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, java.security.Provider)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, java.security.Provider sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer - no attributes other than the default ones will be provided here.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, org.bouncycastle.asn1.cms.AttributeTable, org.bouncycastle.asn1.cms.AttributeTable, java.lang.String)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, org.bouncycastle.asn1.cms.AttributeTable signedAttr, org.bouncycastle.asn1.cms.AttributeTable unsignedAttr, java.lang.String sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer with extra signed/unsigned attributes.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, org.bouncycastle.asn1.cms.AttributeTable, org.bouncycastle.asn1.cms.AttributeTable, java.security.Provider)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, org.bouncycastle.asn1.cms.AttributeTable signedAttr, org.bouncycastle.asn1.cms.AttributeTable unsignedAttr, java.security.Provider sigProvider) throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException</PRE><DL><DD>add a signer with extra signed/unsigned attributes.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, org.bouncycastle.cms.CMSAttributeTableGenerator, org.bouncycastle.cms.CMSAttributeTableGenerator, java.security.Provider)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, <A HREF="../../../org/bouncycastle/cms/CMSAttributeTableGenerator.html" title="interface in org.bouncycastle.cms">CMSAttributeTableGenerator</A> signedAttrGenerator, <A HREF="../../../org/bouncycastle/cms/CMSAttributeTableGenerator.html" title="interface in org.bouncycastle.cms">CMSAttributeTableGenerator</A> unsignedAttrGenerator, java.security.Provider sigProvider) throws java.security.NoSuchAlgorithmException, java.security.InvalidKeyException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, java.security.cert.X509Certificate, java.lang.String, org.bouncycastle.cms.CMSAttributeTableGenerator, org.bouncycastle.cms.CMSAttributeTableGenerator, java.lang.String)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, java.security.cert.X509Certificate cert, java.lang.String digestOID, <A HREF="../../../org/bouncycastle/cms/CMSAttributeTableGenerator.html" title="interface in org.bouncycastle.cms">CMSAttributeTableGenerator</A> signedAttrGenerator, <A HREF="../../../org/bouncycastle/cms/CMSAttributeTableGenerator.html" title="interface in org.bouncycastle.cms">CMSAttributeTableGenerator</A> unsignedAttrGenerator, java.lang.String sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, byte[], java.lang.String, java.lang.String)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, byte[] subjectKeyID, java.lang.String digestOID, java.lang.String sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer - no attributes other than the default ones will be provided here.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, byte[], java.lang.String, java.security.Provider)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, byte[] subjectKeyID, java.lang.String digestOID, java.security.Provider sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer - no attributes other than the default ones will be provided here.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE><DD><CODE>java.security.NoSuchProviderException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, byte[], java.lang.String, org.bouncycastle.asn1.cms.AttributeTable, org.bouncycastle.asn1.cms.AttributeTable, java.lang.String)"><!-- --></A><H3>addSigner</H3><PRE>public void <B>addSigner</B>(java.security.PrivateKey key, byte[] subjectKeyID, java.lang.String digestOID, org.bouncycastle.asn1.cms.AttributeTable signedAttr, org.bouncycastle.asn1.cms.AttributeTable unsignedAttr, java.lang.String sigProvider) throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException</PRE><DL><DD>add a signer with extra signed/unsigned attributes.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.security.NoSuchProviderException</CODE><DD><CODE>java.security.NoSuchAlgorithmException</CODE><DD><CODE>java.security.InvalidKeyException</CODE></DL></DD></DL><HR><A NAME="addSigner(java.security.PrivateKey, byte[], java.lang.String, org.bouncycastle.asn1.cms.AttributeTable, org.bouncycastle.asn1.cms.AttributeTable, java.security.Provider)"><!-- --></A><H3>addSigner</H3><PRE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -