Bouncy Castle Cryptography Library 1.79

org.bouncycastle.asn1.cmp
Class KemCiphertextInfo

java.lang.Object
  extended byorg.bouncycastle.asn1.ASN1Object
      extended byorg.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
KemCiphertextInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString ct)
           
 
Method Summary
 org.bouncycastle.asn1.ASN1OctetString getCt()
           
static KemCiphertextInfo getInstance(java.lang.Object o)
           
 org.bouncycastle.asn1.x509.AlgorithmIdentifier getKem()
           
 org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
          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 Detail

KemCiphertextInfo

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

getInstance

public static KemCiphertextInfo getInstance(java.lang.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 }

Returns:
a basic ASN.1 object representation.

Bouncy Castle Cryptography Library 1.79