APIdia Launch Partner
Top Fields Constructors Methods
sun.security.provider.certpath

pack-priv final Class Vertex

extends Object
Class Inheritance
Imports
java.security.cert.CertificateException, .X509Certificate, sun.security.util.Debug, sun.security.x509.AuthorityKeyIdentifierExtension, .KeyIdentifier, .SubjectKeyIdentifierExtension, .X509CertImpl

Field Summary

Modifier and TypeField and Description
private final X509Certificate
private static final Debug
private int
private Throwable

Constructor Summary

AccessConstructor and Description
pack-priv
Vertex(X509Certificate
X509Certificate associated with vertex
cert
)

Constructor; creates vertex with index of -1 Use setIndex method to set another index.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

String representation of certificate info
certToString
()

Return string representation of this vertex's certificate information.

public X509Certificate

Returns:

X509Certificate
getCertificate
()

return the certificate for this vertex

public int

Returns:

int index for this vertex, or -1 if no following certificates.
getIndex
()

get the index for this vertex, where the index is the row of the adjacency list that contains certificates that could follow this certificate.

public Throwable

Returns:

Throwable
getThrowable
()

return the throwable associated with this vertex; returns null if none.

public String

Returns:

String form of index as "Index: [numeric index]"
indexToString
()

return Vertex index as String compatible with the way other Vertex.xToString() methods displays other information.

public String

Returns:

String form of index as "Last cert? [Yes/No]"
moreToString
()

return Vertex index as String compatible with the way other Vertex.xToString() methods display information.

pack-priv void
setIndex(int
int index for vertex, or -1 if no following certificates.
ndx
)

set the index for this vertex, where the index is the row of the adjacency list that contains certificates that could follow this certificate.

pack-priv void
setThrowable(Throwable
Throwable associated with this vertex (or null)
throwable
)

set throwable associated with this vertex; default value is null.

public String

Returns:

String form of exception (or "none")
throwableToString
()

return Vertex throwable as String compatible with the way toString returns other information

public String

Returns:

String representation of vertex
toString
()

Overrides java.lang.Object.toString.

Return full string representation of vertex

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

certback to summary
private final X509Certificate cert
debugback to summary
private static final Debug debug
indexback to summary
private int index
throwableback to summary
private Throwable throwable

Constructor Detail

Vertexback to summary
pack-priv Vertex(X509Certificate cert)

Constructor; creates vertex with index of -1 Use setIndex method to set another index.

Parameters
cert:X509Certificate

X509Certificate associated with vertex

Method Detail

certToStringback to summary
public String certToString()

Return string representation of this vertex's certificate information.

Returns:String

String representation of certificate info

getCertificateback to summary
public X509Certificate getCertificate()

return the certificate for this vertex

Returns:X509Certificate

X509Certificate

getIndexback to summary
public int getIndex()

get the index for this vertex, where the index is the row of the adjacency list that contains certificates that could follow this certificate.

Returns:int

int index for this vertex, or -1 if no following certificates.

getThrowableback to summary
public Throwable getThrowable()

return the throwable associated with this vertex; returns null if none.

Returns:Throwable

Throwable

indexToStringback to summary
public String indexToString()

return Vertex index as String compatible with the way other Vertex.xToString() methods displays other information.

Returns:String

String form of index as "Index: [numeric index]"

moreToStringback to summary
public String moreToString()

return Vertex index as String compatible with the way other Vertex.xToString() methods display information.

Returns:String

String form of index as "Last cert? [Yes/No]"

setIndexback to summary
pack-priv void setIndex(int ndx)

set the index for this vertex, where the index is the row of the adjacency list that contains certificates that could follow this certificate.

Parameters
ndx:int

int index for vertex, or -1 if no following certificates.

setThrowableback to summary
pack-priv void setThrowable(Throwable throwable)

set throwable associated with this vertex; default value is null.

Parameters
throwable:Throwable

Throwable associated with this vertex (or null)

throwableToStringback to summary
public String throwableToString()

return Vertex throwable as String compatible with the way toString returns other information

Returns:String

String form of exception (or "none")

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Return full string representation of vertex

Returns:String

String representation of vertex

Annotations
@Override