Class EncryptionKey

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Choice, org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class EncryptionKey
    extends org.bouncycastle.asn1.ASN1Object
    implements org.bouncycastle.asn1.ASN1Choice
    EncryptionKey ::= CHOICE { public PublicEncryptionKey, symmetric SymmetricEncryptionKey }
    • Constructor Detail

      • EncryptionKey

        public EncryptionKey​(int choice,
                             org.bouncycastle.asn1.ASN1Encodable value)
    • Method Detail

      • getInstance

        public static EncryptionKey getInstance​(java.lang.Object o)
      • getChoice

        public int getChoice()
      • getEncryptionKey

        public org.bouncycastle.asn1.ASN1Encodable getEncryptionKey()
      • 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