public class OpenedKeyStore extends Object implements Destroyable, AutoCloseable
Constructor and Description |
---|
OpenedKeyStore(KeyStore store,
KeyPairCredential credential) |
OpenedKeyStore(KeyStore store,
String alias,
char[] password) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
destroy() |
Certificate |
getCertificate() |
Certificate[] |
getCertificateChain() |
boolean |
isDestroyed() |
PrivateKey |
privateKey() |
PublicKey |
publicKey() |
KeyStore |
store() |
public OpenedKeyStore(KeyStore store, KeyPairCredential credential)
public void close()
close
in interface AutoCloseable
public void destroy()
destroy
in interface Destroyable
public boolean isDestroyed()
isDestroyed
in interface Destroyable
public KeyStore store()
public PublicKey publicKey()
public PrivateKey privateKey()
public Certificate[] getCertificateChain()
public Certificate getCertificate()
Copyright © 2017–2018 earcam. All rights reserved.