Package org.webpki.keygen2
Class CredentialDiscoveryRequestEncoder.LookupDescriptor
java.lang.Object
org.webpki.crypto.CertificateFilter
org.webpki.keygen2.CredentialDiscoveryRequestEncoder.LookupDescriptor
- All Implemented Interfaces:
AsymKeySignerInterface
- Enclosing class:
CredentialDiscoveryRequestEncoder
public class CredentialDiscoveryRequestEncoder.LookupDescriptor
extends CertificateFilter
implements AsymKeySignerInterface
-
Field Summary
Fields inherited from class org.webpki.crypto.CertificateFilter
CF_EMAIL_REG_EX, CF_EXT_KEY_USAGE_RULES, CF_FINGER_PRINT, CF_ISSUER_REG_EX, CF_KEY_USAGE_RULES, CF_POLICY_RULES, CF_SERIAL_NUMBER, CF_SUBJECT_REG_EX
-
Method Summary
Modifier and TypeMethodDescriptionGet signature algorithm.protected void
setAppUsage
(AppUsage appUsage) setGrouping
(Grouping grouping) setIssuedAfter
(GregorianCalendar issuedAfter) setIssuedBefore
(GregorianCalendar issuedBefore) byte[]
signData
(byte[] data) Sign data.Methods inherited from class org.webpki.crypto.CertificateFilter
getEmailRegEx, getExtendedKeyUsageRules, getFingerPrint, getIssuerRegEx, getKeyUsageRules, getPolicyRules, getSerialNumber, getSubjectRegEx, matches, matchKeyUsage, needsPathExpansion, setEmail, setEmailRegEx, setExtendedKeyUsageRules, setFingerPrint, setIssuer, setIssuerRegEx, setKeyUsageRules, setKeyUsageRules, setPolicyRules, setSerialNumber, setSubject, setSubjectRegEx
-
Method Details
-
nullCheck
- Overrides:
nullCheck
in classCertificateFilter
-
setIssuedBefore
public CredentialDiscoveryRequestEncoder.LookupDescriptor setIssuedBefore(GregorianCalendar issuedBefore) -
setIssuedAfter
public CredentialDiscoveryRequestEncoder.LookupDescriptor setIssuedAfter(GregorianCalendar issuedAfter) -
setGrouping
-
setAppUsage
-
signData
public byte[] signData(byte[] data) Description copied from interface:AsymKeySignerInterface
Sign data.- Specified by:
signData
in interfaceAsymKeySignerInterface
- Parameters:
data
- Data to sign- Returns:
- Signed data
-
getAlgorithm
Description copied from interface:AsymKeySignerInterface
Get signature algorithm.- Specified by:
getAlgorithm
in interfaceAsymKeySignerInterface
- Returns:
- Signature algorithm
-