Package de.xima.fc.certificate.provider
Class CertificateSelectionBySubjectQuery
- java.lang.Object
-
- de.xima.fc.certificate.provider.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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCertificateSelectionBySubjectQuery.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CertificateSelectionBySubjectQuery.Builderbuilder()booleanequals(Object o)BooleangetHasPrivateKey()Optional filter criterion.Set<String>getKeyAlgorithms()Optional filter criterion.CertificateSelectionScopegetScope()Scope within which to select the certificate(s).StringgetSubject()Subject of the certificate(s) to be selected.Set<CertificateUsageType>getUsageTypes()Optional filter criterion.inthashCode()booleanisPartialMatch()Optional filter criterion.CertificateSelectionBySubjectQuery.BuildertoBuilder()StringtoString()
-
-
-
Method Detail
-
builder
public static CertificateSelectionBySubjectQuery.Builder builder()
-
toBuilder
public CertificateSelectionBySubjectQuery.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. Iftrue, only certificates with an associated private key will be selected. Iffalse, only certificates without an associated private key will be selected.
-
getUsageTypes
public Set<CertificateUsageType> 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.
-
-