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 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

      public static ContentInfo getInstance(Object obj)
    • getContentType

      public org.bouncycastle.asn1.ASN1ObjectIdentifier getContentType()
    • setContentType

      public ContentInfo setContentType(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType)
    • getContent

      public org.bouncycastle.asn1.ASN1Encodable getContent()
    • setContent

      public ContentInfo setContent(org.bouncycastle.asn1.ASN1Encodable content)
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object