Class CertificateSelectionByUsageSubjectQuery.Builder
java.lang.Object
de.xima.fc.certificate.provider.CertificateSelectionByUsageSubjectQuery.Builder
- Enclosing class:
CertificateSelectionByUsageSubjectQuery
- 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).toString()usageSubject(String usageSubject) The usage subject of the certificate(s) to be selected.usageType(CertificateUsageType usageType) The usage type that the certificate(s) must support.
-
Method Details
-
scope
Scope within which to select the certificate(s).- Returns:
this.
-
usageSubject
The usage subject of the certificate(s) to be selected. I.e. the E-Mail (RFC822) address, URI, DNS name, etc. The interpretation depends on the usage type.- 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.
-
usageType
The usage type that the certificate(s) must support. Depending on the usage type, the usage subject is interpreted differently.- 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 usage subject. If true, certificates whose usage subjects contain the specified usage subject as a substring will be matched. If false, only exact matches will be considered.- Returns:
this.
-
build
-
toString
-