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) |
void |
setKeyId(String keyId) |
void |
setKeyIdentifier(PgpAsymmetricKeyIdentifier keyPairIdentifier) |
void |
setKeyPairIdentifier(PgpAsymmetricKeyIdentifier keyPairIdentifier) |
void |
setPassphrase(String passphrase) |
public String getKeyId()
getKeyId in interface PgpKeyInfopublic void setKeyId(String keyId)
public PgpAsymmetricKeyIdentifier getKeyIdentifier()
public void setKeyIdentifier(PgpAsymmetricKeyIdentifier keyPairIdentifier)
public String getPassphrase()
public void setPassphrase(String passphrase)
public PgpAsymmetricKeyIdentifier getKeyPairIdentifier()
public void setKeyPairIdentifier(PgpAsymmetricKeyIdentifier keyPairIdentifier)
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 © 2024 MuleSoft, Inc.. All rights reserved.