Class PopLinkWitnessV2

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmc.PopLinkWitnessV2
All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

public class PopLinkWitnessV2 extends org.bouncycastle.asn1.ASN1Object
      id-cmc-popLinkWitnessV2 OBJECT IDENTIFIER ::= { id-cmc 33 }
      PopLinkWitnessV2 ::= SEQUENCE {
           keyGenAlgorithm   AlgorithmIdentifier,
           macAlgorithm      AlgorithmIdentifier,
           witness           OCTET STRING
      }
 
  • Constructor Summary

    Constructors
    Constructor
    Description
    PopLinkWitnessV2(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyGenAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgorithm, byte[] witness)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    org.bouncycastle.asn1.x509.AlgorithmIdentifier
     
    byte[]
     
    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

    • PopLinkWitnessV2

      public PopLinkWitnessV2(org.bouncycastle.asn1.x509.AlgorithmIdentifier keyGenAlgorithm, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgorithm, byte[] witness)
  • Method Details

    • getInstance

      public static PopLinkWitnessV2 getInstance(Object o)
    • getKeyGenAlgorithm

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getKeyGenAlgorithm()
    • getMacAlgorithm

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgorithm()
    • getWitness

      public byte[] getWitness()
    • 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