public class PgpAsymmetricKeyInfo extends Object implements PgpKeyInfo
| Constructor and Description |
|---|
PgpAsymmetricKeyInfo() |
| Modifier and Type | Method and Description |
|---|---|
String |
getKeyId() |
PgpAsymmetricKeyIdentifier |
getKeyIdentifier() |
PgpAsymmetricKeyIdentifier |
getKeyPairIdentifier() |
String |
getPassphrase() |
org.bouncycastle.openpgp.PGPPrivateKey |
getPrivateKey(PgpKeystore keystore) |
org.bouncycastle.openpgp.PGPPublicKey |
getPublicKey(PgpKeystore keystore) |
String |
getSymmetricKey() |
boolean |
isSymmetric() |
boolean |
privateKeyAvailable(PgpKeystore keystore) |
public String getKeyId()
getKeyId in interface PgpKeyInfopublic PgpAsymmetricKeyIdentifier getKeyIdentifier()
public String getPassphrase()
public PgpAsymmetricKeyIdentifier getKeyPairIdentifier()
public org.bouncycastle.openpgp.PGPPublicKey getPublicKey(PgpKeystore keystore)
getPublicKey in interface PgpKeyInfopublic org.bouncycastle.openpgp.PGPPrivateKey getPrivateKey(PgpKeystore keystore)
getPrivateKey in interface PgpKeyInfopublic String getSymmetricKey()
getSymmetricKey in interface PgpKeyInfopublic boolean privateKeyAvailable(PgpKeystore keystore)
privateKeyAvailable in interface PgpKeyInfopublic boolean isSymmetric()
isSymmetric in interface PgpKeyInfoCopyright © 2022 MuleSoft, Inc.. All rights reserved.