FileDocCategorySizeDatePackage
CounterSignatureDigestCalculator.javaAPI DocBouncy Castle Crypto API 1.41 (Java 1.5)708Wed Oct 01 10:55:28 BST 2008org.bouncycastle.cms

CounterSignatureDigestCalculator

public class CounterSignatureDigestCalculator extends Object implements DigestCalculator

Fields Summary
private final String
alg
private final Provider
provider
private final byte[]
data
Constructors Summary
CounterSignatureDigestCalculator(String alg, Provider provider, byte[] data)

        this.alg = alg;
        this.provider = provider;
        this.data = data;
    
Methods Summary
public byte[]getDigest()

        MessageDigest digest = CMSSignedHelper.INSTANCE.getDigestInstance(alg, provider);

        return digest.digest(data);