public class DefaultCMSProcessor extends Object implements org.bouncycastle.cms.CMSTypedData
Copyright (c) 2020 xsx All Rights Reserved. x-easypdf-pdfbox is licensed under Mulan PSL v2. You can use this software according to the terms and conditions of the Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: http://license.coscl.org.cn/MulanPSL2 THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. See the Mulan PSL v2 for more details.
Constructor and Description |
---|
DefaultCMSProcessor(org.bouncycastle.asn1.ASN1ObjectIdentifier type,
InputStream is)
有参构造
|
DefaultCMSProcessor(InputStream is)
有参构造
|
Modifier and Type | Method and Description |
---|---|
Object |
getContent()
获取内容
|
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType()
获取内容类型
|
void |
write(OutputStream out)
写出
|
public DefaultCMSProcessor(InputStream is)
is
- 输入流public DefaultCMSProcessor(org.bouncycastle.asn1.ASN1ObjectIdentifier type, InputStream is)
type
- 内容类型is
- 输入流public Object getContent()
getContent
in interface org.bouncycastle.cms.CMSProcessable
public void write(OutputStream out) throws IOException
write
in interface org.bouncycastle.cms.CMSProcessable
out
- 输出流IOException
- IO异常public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
getContentType
in interface org.bouncycastle.cms.CMSTypedData
Copyright © 2024. All rights reserved.