Example usage for org.bouncycastle.operator DigestCalculator interface-usage

List of usage examples for org.bouncycastle.operator DigestCalculator interface-usage

Introduction

In this page you can find the example usage for org.bouncycastle.operator DigestCalculator interface-usage.

Usage

From source file co.runrightfast.core.security.bc.SHA512DigestCalculator.java

/**
 *
 * @author alfio
 */
public final class SHA512DigestCalculator implements DigestCalculator {

From source file eu.betaas.taas.securitymanager.common.ec.operator.SHA1DigestCalculator.java

public class SHA1DigestCalculator implements DigestCalculator {
    private ByteArrayOutputStream bOut = new ByteArrayOutputStream();

    public AlgorithmIdentifier getAlgorithmIdentifier() {
        return new AlgorithmIdentifier(OIWObjectIdentifiers.idSHA1);
    }

From source file io.netty.example.ocsp.Digester.java

/**
 * BC's {@link OCSPReqBuilder} needs a {@link DigestCalculator} but BC doesn't
 * provide any public implementations of that interface. That's why we need to
 * write our own. There's a default SHA-1 implementation and one for SHA-256.
 * Which one to use will depend on the Certificate Authority (CA).
 */

From source file org.cesecore.certificates.ocsp.SHA1DigestCalculator.java

/**
 * @version $Id: SHA1DigestCalculator.java 18437 2014-02-03 12:46:08Z mikekushner $
 *
 */
public class SHA1DigestCalculator implements DigestCalculator {
    private ByteArrayOutputStream bOut = new ByteArrayOutputStream();

From source file org.xipki.ocsp.client.impl.AbstractDigestCalculator.java

/**
 * @author Lijun Liao
 */

public abstract class AbstractDigestCalculator implements DigestCalculator {
    private ByteArrayOutputStream bOut = new ByteArrayOutputStream();

From source file org.xipki.pki.ocsp.client.impl.AbstractDigestCalculator.java

/**
 * @author Lijun Liao
 * @since 2.0.0
 */

public abstract class AbstractDigestCalculator implements DigestCalculator {