public class CertChainContext extends CapiHandle
getCertificateChain method
of CertContext.| Modifier and Type | Method and Description |
|---|---|
protected void |
addCertToChain(long certHandle)
Adds a certificate to the chain.
|
void |
close()
Close the handle, releasing the certificate chain.
|
java.util.List<CertContext> |
getCertChain()
Returns an ordered list of
CertContext objects that
forms a chain to a root certificate. |
clearHandle, debugInfo, debugInfo, equals, finalize, getHandle, hashCode, setExtendedDebuggingpublic void close()
It is okay to call this method multiple times on the same object.
close in class CapiHandleprotected void addCertToChain(long certHandle)
certHandle - A handle to the certificate context to be added to the chain.public java.util.List<CertContext> getCertChain()
CertContext objects that
forms a chain to a root certificate. The first element in
the list is the end-entity certificate, and the last element
is the root certificate.
Note that the CertContext objects in the list do not need
to be closed.
CertContext objects that
forms a chain to a root certificate.