public interface ProxyCertificate
ProxyGenerator.ProxyGenerator| Modifier and Type | Method and Description |
|---|---|
java.security.cert.X509Certificate[] |
getCertificateChain()
Returns the certificate chain of the proxy.
|
X509Credential |
getCredential()
Returns the X509Credential wrapping the generated private key and proxy certificate.
|
java.security.PrivateKey |
getPrivateKey()
Returns the generated private key of this proxy.
|
boolean |
hasPrivateKey() |
java.security.cert.X509Certificate[] getCertificateChain()
java.security.PrivateKey getPrivateKey()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if the private and public keys were not generatedX509Credential getCredential() throws java.lang.IllegalStateException
X509Credentialjava.lang.IllegalStateException - if the private and public keys were not generatedboolean hasPrivateKey()
getPrivateKey() and getCredential()