Class IdentityProofV2

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

public class IdentityProofV2 extends org.bouncycastle.asn1.ASN1Object
      id-cmc-identityProofV2 OBJECT IDENTIFIER ::= { id-cmc 34 }
      identityProofV2 ::= SEQUENCE {
          proofAlgID       AlgorithmIdentifier,
          macAlgId         AlgorithmIdentifier,
          witness          OCTET STRING
      }
 
  • Constructor Summary

    Constructors
    Constructor
    Description
    IdentityProofV2(org.bouncycastle.asn1.x509.AlgorithmIdentifier proofAlgID, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgId, 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

    • IdentityProofV2

      public IdentityProofV2(org.bouncycastle.asn1.x509.AlgorithmIdentifier proofAlgID, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgId, byte[] witness)
  • Method Details

    • getInstance

      public static IdentityProofV2 getInstance(Object o)
    • getProofAlgID

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getProofAlgID()
    • getMacAlgId

      public org.bouncycastle.asn1.x509.AlgorithmIdentifier getMacAlgId()
    • 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