public final class ContentInfo
extends org.bouncycastle.asn1.ASN1Object
ContentInfo 类型表明内容交换通用语法结构,内容交换的通用语法结构定义。
| Constructor and Description |
|---|
ContentInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType,
org.bouncycastle.asn1.ASN1Encodable content) |
ContentInfo(org.bouncycastle.asn1.ASN1Sequence seq) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.ASN1Encodable |
getContent() |
org.bouncycastle.asn1.ASN1ObjectIdentifier |
getContentType() |
static ContentInfo |
getInstance(Object obj) |
ContentInfo |
setContent(org.bouncycastle.asn1.ASN1Encodable content) |
ContentInfo |
setContentType(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public ContentInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType,
org.bouncycastle.asn1.ASN1Encodable content)
public ContentInfo(org.bouncycastle.asn1.ASN1Sequence seq)
public static ContentInfo getInstance(Object obj)
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
public ContentInfo setContentType(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType)
public org.bouncycastle.asn1.ASN1Encodable getContent()
public ContentInfo setContent(org.bouncycastle.asn1.ASN1Encodable content)
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1ObjectCopyright © 2026. All rights reserved.