All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.conscrypt.CertBlacklist Maven / Gradle / Ivy

There is a newer version: 2.0.42.rc
Show newest version
package org.conscrypt;

import java.math.BigInteger;
import java.security.PublicKey;

/**
 * A set of certificates that are blacklisted from trust.
 */
public interface CertBlacklist {

    /**
     * Returns whether the given public key is in the blacklist.
     */
    boolean isPublicKeyBlackListed(PublicKey publicKey);

    /**
     * Returns whether the given serial number is in the blacklist.
     */
    boolean isSerialNumberBlackListed(BigInteger serial);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy