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

    Constructors
    Constructor
    Description
    GenericHybridParameters(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.x509.AlgorithmIdentifier dem)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
     
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    org.bouncycastle.asn1.ASN1Primitive
     

    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

    • GenericHybridParameters

      public GenericHybridParameters(org.bouncycastle.asn1.x509.AlgorithmIdentifier kem, org.bouncycastle.asn1.x509.AlgorithmIdentifier dem)
  • Method Details

    • getInstance

      public static GenericHybridParameters getInstance(Object o)
    • 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 interface org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object