Class PKIArchiveOptions

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

    public class PKIArchiveOptions
    extends org.bouncycastle.asn1.ASN1Object
    implements org.bouncycastle.asn1.ASN1Choice
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static PKIArchiveOptions getInstance​(java.lang.Object o)  
      int getType()  
      org.bouncycastle.asn1.ASN1Encodable getValue()  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      PKIArchiveOptions ::= CHOICE { encryptedPrivKey [0] EncryptedKey, -- the actual value of the private key keyGenParameters [1] KeyGenParameters, -- parameters which allow the private key to be re-generated archiveRemGenPrivKey [2] BOOLEAN } -- set to TRUE if sender wishes receiver to archive the private -- key of a key pair that the receiver generates in response to -- this request; set to FALSE if no archival is desired.
      • 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

      • PKIArchiveOptions

        public PKIArchiveOptions​(EncryptedKey encKey)
      • PKIArchiveOptions

        public PKIArchiveOptions​(org.bouncycastle.asn1.ASN1OctetString keyGenParameters)
      • PKIArchiveOptions

        public PKIArchiveOptions​(boolean archiveRemGenPrivKey)
    • Method Detail

      • getType

        public int getType()
      • getValue

        public org.bouncycastle.asn1.ASN1Encodable getValue()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
          PKIArchiveOptions ::= CHOICE {
              encryptedPrivKey     [0] EncryptedKey,
              -- the actual value of the private key
              keyGenParameters     [1] KeyGenParameters,
              -- parameters which allow the private key to be re-generated
              archiveRemGenPrivKey [2] BOOLEAN }
              -- set to TRUE if sender wishes receiver to archive the private
              -- key of a key pair that the receiver generates in response to
              -- this request; set to FALSE if no archival is desired.
         
        Specified by:
        toASN1Primitive in interface org.bouncycastle.asn1.ASN1Encodable
        Specified by:
        toASN1Primitive in class org.bouncycastle.asn1.ASN1Object