Class ExtendedKeyUsageKeyEntryPredicate

java.lang.Object
eu.europa.esig.dss.token.predicate.ExtendedKeyUsageKeyEntryPredicate
All Implemented Interfaces:
DSSKeyEntryPredicate, Predicate<DSSPrivateKeyEntry>

public class ExtendedKeyUsageKeyEntryPredicate extends Object implements DSSKeyEntryPredicate
This class is used to filter private key predicates based on the certificate ExtendedKeyUsage attribute value
  • Constructor Details

    • ExtendedKeyUsageKeyEntryPredicate

      public ExtendedKeyUsageKeyEntryPredicate(ExtendedKeyUsage... extendedKeyUsages)
      Default constructor with an array of ExtendedKeyUsages to be accepted
      Parameters:
      extendedKeyUsages - array of KeyUsageBits to be accepted
    • ExtendedKeyUsageKeyEntryPredicate

      public ExtendedKeyUsageKeyEntryPredicate(String... extendedKeyUsageOIDs)
      Constructor with an array of ExtendedKeyUsage OIDs to be accepted
      Parameters:
      extendedKeyUsageOIDs - array of Strings to be accepted
  • Method Details