Class CertificateSelectionBySubjectQuery

java.lang.Object
de.xima.fc.certificate.mgmt.selection.CertificateSelectionBySubjectQuery
All Implemented Interfaces:
Serializable

public final class CertificateSelectionBySubjectQuery extends Object implements Serializable
Query for selecting certificates by their subject within a defined scope.
Since:
8.5.0
Author:
Norman Lorenz
See Also:
  • Method Details

    • builder

    • toBuilder

    • getScope

      public CertificateSelectionScope getScope()
      Scope within which to select the certificate(s).
    • getSubject

      public String getSubject()
      Subject of the certificate(s) to be selected.
    • getHasPrivateKey

      public Boolean getHasPrivateKey()
      Optional filter criterion. Whether the certificate(s) must have an associated private key or should not have one. If null, this criterion is ignored.
    • getUsageTypes

      public Set<ECertificateUsageType> getUsageTypes()
      Optional filter criterion. Set of usage types that the certificate(s) must support. If null or empty, this criterion is ignored.
    • getKeyAlgorithms

      public Set<String> getKeyAlgorithms()
      Optional filter criterion. Set of key algorithms that the certificate(s) must use. If null or empty, this criterion is ignored.
    • isPartialMatch

      public boolean isPartialMatch()
      Optional filter criterion. Whether to perform a partial match on the subject. If true, certificates whose subjects contain the specified subject as a substring will be matched. If false, only exact matches will be considered.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object