Class OtherMsg

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class OtherMsg
    extends org.bouncycastle.asn1.ASN1Object
     OtherMsg ::= SEQUENCE {
         bodyPartID        BodyPartID,
         otherMsgType      OBJECT IDENTIFIER,
         otherMsgValue     ANY DEFINED BY otherMsgType }
     
    • Constructor Detail

      • OtherMsg

        public OtherMsg​(BodyPartID bodyPartID,
                        org.bouncycastle.asn1.ASN1ObjectIdentifier otherMsgType,
                        org.bouncycastle.asn1.ASN1Encodable otherMsgValue)
    • Method Detail

      • getInstance

        public static OtherMsg getInstance​(org.bouncycastle.asn1.ASN1TaggedObject obj,
                                           boolean explicit)
      • 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
      • getBodyPartID

        public BodyPartID getBodyPartID()
      • getOtherMsgType

        public org.bouncycastle.asn1.ASN1ObjectIdentifier getOtherMsgType()
      • getOtherMsgValue

        public org.bouncycastle.asn1.ASN1Encodable getOtherMsgValue()