Class KemCiphertextInfo

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.KemCiphertextInfo
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class KemCiphertextInfo extends org.bouncycastle.asn1.ASN1Object
    KemCiphertextInfo ::= SEQUENCE {
      kem              AlgorithmIdentifier{KEM-ALGORITHM, {...}},
      ct               OCTET STRING
    }
 
  • Constructor Summary

    Constructors
    Constructor
    Description
    KemCiphertextInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString ct)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.ASN1OctetString
     
     
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    org.bouncycastle.asn1.ASN1Primitive
    KemCiphertextInfo ::= SEQUENCE { kem AlgorithmIdentifier{KEM-ALGORITHM, {...}}, ct OCTET STRING }

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KemCiphertextInfo

      public KemCiphertextInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString ct)
  • Method Details

    • getInstance

      public static KemCiphertextInfo getInstance(Object o)
    • getKem

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKem()
    • getCt

      public org.bouncycastle.asn1.ASN1OctetString getCt()
    • toASN1Primitive

      public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
          KemCiphertextInfo ::= SEQUENCE {
            kem              AlgorithmIdentifier{KEM-ALGORITHM, {...}},
            ct               OCTET STRING
          }
       
      Specified by:
      toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.