| Modifier and Type | Field and Description |
|---|---|
| private static final Debug | |
| private Date | |
| private BigInteger | |
| private byte[] | |
| private Date |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Object | clone()
Overrides java. Implements java. Returns a copy of this object. |
| public boolean | match(Certificate cert)
Overrides java. Implements java. Decides whether a |
| private boolean | |
| public void | setSerialNumber(BigInteger serial)
Overrides java. This selector overrides the serialNumber matching rules of X509CertSelector, so it throws IllegalArgumentException if this method is ever called. |
| pack-priv void | setSkiAndSerialNumber(AuthorityKeyIdentifierExtension
the authorityKeyIdentifier extension ext)Sets the subjectKeyIdentifier and serialNumber criteria from the authority key identifier extension. |
| public void | setSubjectKeyIdentifier(byte[] subjectKeyID)
Overrides java. This selector overrides the subjectKeyIdentifier matching rules of X509CertSelector, so it throws IllegalArgumentException if this method is ever called. |
| pack-priv void | setValidityPeriod(Date
the start date of a validity period that must fall
within the certificate validity period for the X509Certificate startDate, Date the end date of a validity period that must fall
within the certificate validity period for the X509Certificate endDate)Sets the criterion of the X509Certificate validity period. |
| debug | back to summary |
|---|---|
| private static final Debug debug | |
| endDate | back to summary |
|---|---|
| private Date endDate | |
| serial | back to summary |
|---|---|
| private BigInteger serial | |
| ski | back to summary |
|---|---|
| private byte[] ski | |
| startDate | back to summary |
|---|---|
| private Date startDate | |
| AdaptableX509CertSelector | back to summary |
|---|---|
| pack-priv AdaptableX509CertSelector() | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Implements java. Doc from java. Returns a copy of this object.
| |
| match | back to summary |
|---|---|
| public boolean match(Certificate cert) Overrides java. Implements java. Decides whether a
| |
| matchSubjectKeyID | back to summary |
|---|---|
| private boolean matchSubjectKeyID(X509Certificate xcert) Hides java. | |
| setSerialNumber | back to summary |
|---|---|
| public void setSerialNumber(BigInteger serial) Overrides java. This selector overrides the serialNumber matching rules of X509CertSelector, so it throws IllegalArgumentException if this method is ever called.
| |
| setSkiAndSerialNumber | back to summary |
|---|---|
| pack-priv void setSkiAndSerialNumber(AuthorityKeyIdentifierExtension ext) throws IOException Sets the subjectKeyIdentifier and serialNumber criteria from the authority key identifier extension. The subjectKeyIdentifier criterion is set to the keyIdentifier field of the extension, or null if it is empty. The serialNumber criterion is set to the authorityCertSerialNumber field, or null if it is empty. Note that we do not set the subject criterion to the authorityCertIssuer field of the extension. The caller MUST set the subject criterion before calling match().
| |
| setSubjectKeyIdentifier | back to summary |
|---|---|
| public void setSubjectKeyIdentifier(byte[] subjectKeyID) Overrides java. This selector overrides the subjectKeyIdentifier matching rules of X509CertSelector, so it throws IllegalArgumentException if this method is ever called.
| |
| setValidityPeriod | back to summary |
|---|---|
| pack-priv void setValidityPeriod(Date startDate, Date endDate) Sets the criterion of the X509Certificate validity period. Normally, we may not have to check that a certificate validity period must fall within its issuer's certificate validity period. However, when we face root CA key updates for version 1 certificates, according to scheme of RFC 4210 or 2510, the validity periods should be checked to determine the right issuer's certificate. Conservatively, we will only check the validity periods for version 1 and version 2 certificates. For version 3 certificates, we can determine the right issuer by authority and subject key identifier extensions. | |