Class CertificateSelectionBySubjectQuery.Builder
java.lang.Object
de.xima.fc.certificate.provider.CertificateSelectionBySubjectQuery.Builder
- Enclosing class:
CertificateSelectionBySubjectQuery
- Since:
- 8.5.0
- Author:
- Norman Lorenz
-
Method Summary
Modifier and TypeMethodDescriptionbuild()hasPrivateKey(Boolean hasPrivateKey) Optional filter criterion.keyAlgorithms(Set<String> keyAlgorithms) Optional filter criterion.partialMatch(boolean partialMatch) Optional filter criterion.scope(CertificateSelectionScope scope) Scope within which to select the certificate(s).Subject of the certificate(s) to be selected.toString()usageTypes(Set<CertificateUsageType> usageTypes) Optional filter criterion.
-
Method Details
-
scope
Scope within which to select the certificate(s).- Returns:
this.
-
subject
Subject of the certificate(s) to be selected.- Returns:
this.
-
hasPrivateKey
Optional filter criterion. Whether the certificate(s) must have an associated private key or should not have one. If null, this criterion is ignored.- Returns:
this.
-
usageTypes
Optional filter criterion. Set of usage types that the certificate(s) must support. If null or empty, this criterion is ignored.- Returns:
this.
-
keyAlgorithms
Optional filter criterion. Set of key algorithms that the certificate(s) must use. If null or empty, this criterion is ignored.- Returns:
this.
-
partialMatch
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.- Returns:
this.
-
build
-
toString
-