APIdia Launch Partner
Top Description Methods
sun.security.provider.certpath

pack-priv Interface State

extends Cloneable
Known Direct Implementers
sun.security.provider.certpath.ForwardState
Imports
java.io.IOException, java.security.cert.CertificateException, .X509Certificate, .CertPathValidatorException

A specification of a PKIX validation state which is initialized by each build and updated each time a certificate is added to the current path.
Authors
Sean Mullan, Yassir Elley
Since
1.4

Method Summary

Modifier and TypeMethod and Description
public Object
clone()

Creates and returns a copy of this object

public boolean

Returns:

boolean flag indicating if the state is initial (just starting)
isInitial
()

Returns a boolean flag indicating if the state is initial (just starting)

public void
updateState(X509Certificate
the certificate which is used to update the state
cert
)

Update the state with the next certificate added to the path.

Method Detail

cloneback to summary
public Object clone()

Creates and returns a copy of this object

isInitialback to summary
public boolean isInitial()

Returns a boolean flag indicating if the state is initial (just starting)

Returns:boolean

boolean flag indicating if the state is initial (just starting)

updateStateback to summary
public void updateState(X509Certificate cert) throws CertificateException, IOException, CertPathValidatorException

Update the state with the next certificate added to the path.

Parameters
cert:X509Certificate

the certificate which is used to update the state