Vertex state description, a certificate, a possible throwable,
and a result code.
sun.security.provider.certpath.Vertex
| Modifier and Type | Field and Description |
|---|---|
| public static final int | BACK
result code associated with a certificate that was tried, but that represents an unsuccessful path, so the certificate has been backed out to allow backtracking to the next possible path. |
| private X509Certificate | |
| public static final int | FAIL
result code associated with a certificate that represents the end of the last possible path, where no path successfully reached the target. |
| public static final int | FOLLOW
result code associated with a certificate that successfully continues the current path, but does not yet reach the target. |
| public static final int | POSSIBLE
result code associated with a certificate that may continue a path from the current certificate. |
| private final int | |
| public static final int | SUCCEED
result code associated with a certificate that represents the end of a path that successfully reaches the target. |
| private Throwable | |
| private final Vertex |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: Stringreturn a string representation of this build step, including all possible detail of the vertex state, but not including the certificate contents. |
| public X509Certificate | |
| public String | Returns: String form of issuer name or null, if no certificate.return string form of issuer name from certificate associated with this build step |
| public String | Returns: String form of issuer name or defaultName, if no certificate or exception received while trying to extract issuer name from certificate.name to use as default if unable to return an issuer
name from the certificate, or if no certificate. defaultName)return string form of issuer name from certificate associated with this build step, or a default name if no certificate associated with this build step, or if issuer name could not be obtained from the certificate. |
| public int | |
| public String | Returns: String form of subject name or null, if no certificate.return string form of subject name from certificate associated with this build step. |
| public String | Returns: String form of subject name or defaultName, if no certificate or if an exception was received while attempting to extract the subject name from the certificate.name to use as default if unable to return a subject
name from the certificate, or if no certificate. defaultName)return string form of subject name from certificate associated with this build step, or a default name if no certificate associated with this build step, or if subject name could not be obtained from the certificate. |
| public Throwable | |
| public Vertex | |
| public String | Returns: String string representing meaning of the result coderesult code res)return a string representing the meaning of the result code associated with this build step. |
| public String | Returns: StringOverrides java. return a string representation of this build step, showing minimal detail. |
| public String | Returns: Stringreturn a string representation of this build step, showing all detail of the vertex state appropriate to the result of this build step, and the certificate contents. |
| BACK | back to summary |
|---|---|
| public static final int BACK result code associated with a certificate that was tried, but that represents an unsuccessful path, so the certificate has been backed out to allow backtracking to the next possible path. | |
| cert | back to summary |
|---|---|
| private X509Certificate cert | |
| FAIL | back to summary |
|---|---|
| public static final int FAIL result code associated with a certificate that represents the end of the last possible path, where no path successfully reached the target. | |
| FOLLOW | back to summary |
|---|---|
| public static final int FOLLOW result code associated with a certificate that successfully continues the current path, but does not yet reach the target. | |
| POSSIBLE | back to summary |
|---|---|
| public static final int POSSIBLE result code associated with a certificate that may continue a path from the current certificate. | |
| result | back to summary |
|---|---|
| private final int result | |
| SUCCEED | back to summary |
|---|---|
| public static final int SUCCEED result code associated with a certificate that represents the end of a path that successfully reaches the target. | |
| throwable | back to summary |
|---|---|
| private Throwable throwable | |
| vertex | back to summary |
|---|---|
| private final Vertex vertex | |
| BuildStep | back to summary |
|---|---|
| public BuildStep(Vertex vtx, int res) construct a BuildStep
| |
| fullToString | back to summary |
|---|---|
| public String fullToString() return a string representation of this build step, including all possible detail of the vertex state, but not including the certificate contents.
| |
| getCertificate | back to summary |
|---|---|
| public X509Certificate getCertificate() return the certificate associated with this build step
| |
| getIssuerName | back to summary |
|---|---|
| public String getIssuerName() return string form of issuer name from certificate associated with this build step
| |
| getIssuerName | back to summary |
|---|---|
| public String getIssuerName(String defaultName) return string form of issuer name from certificate associated with this build step, or a default name if no certificate associated with this build step, or if issuer name could not be obtained from the certificate. | |
| getResult | back to summary |
|---|---|
| public int getResult() return the result code associated with this build step. The result codes are POSSIBLE, FOLLOW, BACK, FAIL, SUCCEED.
| |
| getSubjectName | back to summary |
|---|---|
| public String getSubjectName() return string form of subject name from certificate associated with this build step.
| |
| getSubjectName | back to summary |
|---|---|
| public String getSubjectName(String defaultName) return string form of subject name from certificate associated with this build step, or a default name if no certificate associated with this build step, or if subject name could not be obtained from the certificate.
| |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() return the exception associated with this build step.
| |
| getVertex | back to summary |
|---|---|
| public Vertex getVertex() return vertex description for this build step
| |
| resultToString | back to summary |
|---|---|
| public String resultToString(int res) return a string representing the meaning of the result code associated with this build step.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. return a string representation of this build step, showing minimal detail. | |
| verboseToString | back to summary |
|---|---|
| public String verboseToString() return a string representation of this build step, showing all detail of the vertex state appropriate to the result of this build step, and the certificate contents.
| |