Package org.webpki.crypto
Class CertificateFilter
java.lang.Object
org.webpki.crypto.CertificateFilter
- Direct Known Subclasses:
CredentialDiscoveryRequestDecoder.LookupSpecifier
,CredentialDiscoveryRequestEncoder.LookupDescriptor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
byte[]
String[]
String[]
boolean
matches
(X509Certificate[] certificatePath) static boolean
matchKeyUsage
(String[] specifier, X509Certificate certificate) boolean
protected void
setEmailRegEx
(String emailRegEx) setExtendedKeyUsageRules
(String[] extendedKeyUsageRules) setFingerPrint
(byte[] fingerPrint) setIssuer
(X500Principal issuer) setIssuerRegEx
(String issuerRegEx) setKeyUsageRules
(String[] keyUsageRules) setKeyUsageRules
(KeyUsageBits[] required, KeyUsageBits[] disallowed) setPolicyRules
(String[] ruleSet) setSerialNumber
(BigInteger serialNumber) setSubject
(X500Principal subject) setSubjectRegEx
(String subjectRegEx)
-
Field Details
-
CF_FINGER_PRINT
- See Also:
-
CF_ISSUER_REG_EX
- See Also:
-
CF_SERIAL_NUMBER
- See Also:
-
CF_SUBJECT_REG_EX
- See Also:
-
CF_EMAIL_REG_EX
- See Also:
-
CF_POLICY_RULES
- See Also:
-
CF_KEY_USAGE_RULES
- See Also:
-
CF_EXT_KEY_USAGE_RULES
- See Also:
-
-
Constructor Details
-
CertificateFilter
public CertificateFilter()
-
-
Method Details
-
nullCheck
-
getFingerPrint
public byte[] getFingerPrint() -
getIssuerRegEx
-
getSubjectRegEx
-
getEmailRegEx
-
getPolicyRules
-
getSerialNumber
-
getKeyUsageRules
-
getExtendedKeyUsageRules
-
setFingerPrint
-
setIssuer
-
setSubject
-
setIssuerRegEx
-
setSubjectRegEx
-
setEmail
-
setEmailRegEx
-
setPolicyRules
-
setSerialNumber
-
setKeyUsageRules
-
setKeyUsageRules
-
setExtendedKeyUsageRules
-
needsPathExpansion
public boolean needsPathExpansion() -
matchKeyUsage
-
matches
-