Top Description Fields Constructors Methods
org.bouncycastle.asn1.crmf

public Class DhSigStatic

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence, org.bouncycastle.asn1.cms.IssuerAndSerialNumber, org.bouncycastle.util.Arrays

From RFC 2875 for Diffie-Hellman POP.
    DhSigStatic ::= SEQUENCE {
        IssuerAndSerial IssuerAndSerialNumber OPTIONAL,
        hashValue       MessageDigest
    }

Field Summary

Modifier and TypeField and Description
private final ASN1OctetString
private final IssuerAndSerialNumber

Constructor Summary

AccessConstructor and Description
public
DhSigStatic(byte[] hashValue)

public
DhSigStatic(IssuerAndSerialNumber issuerAndSerial, byte[] hashValue)

private

Method Summary

Modifier and TypeMethod and Description
public byte[]
public static DhSigStatic
public IssuerAndSerialNumber
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

hashValueback to summary
private final ASN1OctetString hashValue
issuerAndSerialback to summary
private final IssuerAndSerialNumber issuerAndSerial

Constructor Detail

DhSigStaticback to summary
public DhSigStatic(byte[] hashValue)
DhSigStaticback to summary
public DhSigStatic(IssuerAndSerialNumber issuerAndSerial, byte[] hashValue)
DhSigStaticback to summary
private DhSigStatic(ASN1Sequence seq)

Method Detail

getHashValueback to summary
public byte[] getHashValue()
getInstanceback to summary
public static DhSigStatic getInstance(Object o)
getIssuerAndSerialback to summary
public IssuerAndSerialNumber getIssuerAndSerial()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Method providing a primitive representation of this object suitable for encoding.

Returns:ASN1Primitive

a primitive representation of this object.