| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private boolean | |
| private final Set | |
| private final Set | |
| private String | |
| private final Date |
| Access | Constructor and Description |
|---|---|
| public | JarConstraintsParameters(CodeSigner[]
the CodeSigners that signed the JAR signers)Create a JarConstraintsParameters. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public boolean | Returns: true if at least one of the certificates are issued by a JDK root CAImplements sun. Since loading the cacerts keystore can be an expensive operation, this is only performed if this method is called during a "jdkCA" constraints check of a disabled algorithm, and the result is cached. |
| public String | extendedExceptionMsg()
Implements sun. Returns an extended message used in exceptions. |
| public Date | getDate()
Implements sun. Returns the date that should be checked against the constraints, or null if not set. |
| public Set | getKeys()
Implements sun. Returns the set of keys that should be checked against the constraints, or an empty set if there are no keys to be checked. |
| public String | getVariant()
Implements sun. Returns the Validator variant. |
| public void | setExtendedExceptionMsg(String
the name of the signature related file being verified file, String the attribute containing the algorithm that is being
checked target)Sets the extended error message. |
| public String |
| anchorIsJdkCA | back to summary |
|---|---|
| private boolean anchorIsJdkCA | |
| anchorIsJdkCASet | back to summary |
|---|---|
| private boolean anchorIsJdkCASet | |
| certsIssuedByAnchor | back to summary |
|---|---|
| private final Set<X509Certificate> certsIssuedByAnchor | |
| keys | back to summary |
|---|---|
| private final Set<Key> keys | |
| message | back to summary |
|---|---|
| private String message | |
| timestamp | back to summary |
|---|---|
| private final Date timestamp | |
| JarConstraintsParameters | back to summary |
|---|---|
| public JarConstraintsParameters(CodeSigner[] signers) Create a JarConstraintsParameters.
| |
| JarConstraintsParameters | back to summary |
|---|---|
| public JarConstraintsParameters(List<X509Certificate> chain, Date timestamp) | |
| addToCertsAndKeys | back to summary |
|---|---|
| private void addToCertsAndKeys(CertPath cp) | |
| addToCertsAndKeys | back to summary |
|---|---|
| private void addToCertsAndKeys(List<X509Certificate> chain) | |
| anchorIsJdkCA | back to summary |
|---|---|
| public boolean anchorIsJdkCA() Implements sun. Since loading the cacerts keystore can be an expensive operation, this is only performed if this method is called during a "jdkCA" constraints check of a disabled algorithm, and the result is cached.
| |
| extendedExceptionMsg | back to summary |
|---|---|
| public String extendedExceptionMsg() Implements sun. Doc from sun. Returns an extended message used in exceptions. See DisabledAlgorithmConstraints for usage.
| |
| getDate | back to summary |
|---|---|
| public Date getDate() Implements sun. Doc from sun. Returns the date that should be checked against the constraints, or null if not set.
| |
| getKeys | back to summary |
|---|---|
| public Set Implements sun. Doc from sun. Returns the set of keys that should be checked against the constraints, or an empty set if there are no keys to be checked.
| |
| getVariant | back to summary |
|---|---|
| public String getVariant() Implements sun. Doc from sun. Returns the Validator variant.
| |
| setExtendedExceptionMsg | back to summary |
|---|---|
| public void setExtendedExceptionMsg(String file, String target) Sets the extended error message. Note this should be used carefully as it is specific to the attribute/entry/file being checked. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |