Package org.bouncycastle.asn1.cmp
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
ConstructorDescriptionKemCiphertextInfo
(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString ct) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1OctetString
getCt()
static KemCiphertextInfo
org.bouncycastle.asn1.x509.AlgorithmIdentifier
getKem()
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
-
Constructor Details
-
KemCiphertextInfo
public KemCiphertextInfo(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.ASN1OctetString ct)
-
-
Method Details
-
getInstance
-
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 interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-