public class SelfSignedKeyResolver extends Object implements KeyResolver
| Constructor and Description |
|---|
SelfSignedKeyResolver(String commonName) |
| Modifier and Type | Method and Description |
|---|---|
X509Certificate |
getCertificate()
Returns the private key of the system.
|
PrivateKey |
getPrivateKey()
Returns the private key of the system.
|
PublicKey |
getPublicKey()
Returns the public key of the system.
|
public SelfSignedKeyResolver(String commonName) throws KeyResolverException
KeyResolverExceptionpublic PrivateKey getPrivateKey()
KeyResolvergetPrivateKey in interface KeyResolverpublic PublicKey getPublicKey()
KeyResolvergetPublicKey in interface KeyResolverpublic X509Certificate getCertificate()
KeyResolvergetCertificate in interface KeyResolverCopyright © 2019 WSO2. All rights reserved.