Package org.bouncycastle.asn1.cms
Class GenericHybridParameters
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cms.GenericHybridParameters
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class GenericHybridParameters
extends org.bouncycastle.asn1.ASN1Object
RFC 5990 GenericHybridParameters class.
GenericHybridParameters ::= SEQUENCE { kem KeyEncapsulationMechanism, dem DataEncapsulationMechanism } KeyEncapsulationMechanism ::= AlgorithmIdentifier {{KEMAlgorithms}} DataEncapsulationMechanism ::= AlgorithmIdentifier {{DEMAlgorithms}}
-
Constructor Summary
ConstructorDescriptionGenericHybridParameters
(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.x509.AlgorithmIdentifier dem) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifier
getDem()
static GenericHybridParameters
org.bouncycastle.asn1.x509.AlgorithmIdentifier
getKem()
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
GenericHybridParameters
public GenericHybridParameters(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.x509.AlgorithmIdentifier dem)
-
-
Method Details
-
getInstance
-
getDem
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDem() -
getKem
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKem() -
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-