Class ContentInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.ofdrw.gm.sm2strut.ContentInfo
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable
public final class ContentInfo
extends org.bouncycastle.asn1.ASN1Object
GMT 35275-2017 6.10 ContentInfo
ContentInfo 类型表明内容交换通用语法结构,内容交换的通用语法结构定义。
- Since:
- 2021-08-02 19:13:03
- Author:
- 权观宇
-
Constructor Summary
ConstructorsConstructorDescriptionContentInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.ASN1Encodable content) ContentInfo(org.bouncycastle.asn1.ASN1Sequence seq) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1Encodableorg.bouncycastle.asn1.ASN1ObjectIdentifierstatic ContentInfogetInstance(Object obj) setContent(org.bouncycastle.asn1.ASN1Encodable content) setContentType(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType) org.bouncycastle.asn1.ASN1PrimitiveMethods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
ContentInfo
public ContentInfo(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.ASN1Encodable content) -
ContentInfo
public ContentInfo(org.bouncycastle.asn1.ASN1Sequence seq)
-
-
Method Details
-
getInstance
-
getContentType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType() -
setContentType
-
getContent
public org.bouncycastle.asn1.ASN1Encodable getContent() -
setContent
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object
-