public class SubjectRegexPredicate extends Object implements IgnitePredicate<Certificate[]>
Pattern
.Constructor and Description |
---|
SubjectRegexPredicate(String patternStr)
Constructs X.509 Subject DN regular expression predicate.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Certificate[] certs)
Checks whether passed certificate is X.509 certificate with Subject DN matches the pattern.
|
String |
toString() |
public SubjectRegexPredicate(String patternStr)
patternStr
- public boolean apply(Certificate[] certs)
X509Certificate
, the result is false.
Matching is performed with Matcher.matches()
.apply
in interface IgnitePredicate<Certificate[]>
certs
- Certificate chain to test.true
if certificate matches pattern.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024