Class DhSigStatic

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

public class DhSigStatic extends org.bouncycastle.asn1.ASN1Object
From RFC 2875 for Diffie-Hellman POP.
     DhSigStatic ::= SEQUENCE {
         IssuerAndSerial IssuerAndSerialNumber OPTIONAL,
         hashValue       MessageDigest
     }
 
  • Constructor Details

    • DhSigStatic

      public DhSigStatic(byte[] hashValue)
    • DhSigStatic

      public DhSigStatic(IssuerAndSerialNumber issuerAndSerial, byte[] hashValue)
  • Method Details

    • getInstance

      public static DhSigStatic getInstance(Object o)
    • getIssuerAndSerial

      public IssuerAndSerialNumber getIssuerAndSerial()
    • getHashValue

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