Package org.pgpainless.key.certification
Class CertifyCertificate.DelegationOnCertificate
java.lang.Object
org.pgpainless.key.certification.CertifyCertificate.DelegationOnCertificate
- Enclosing class:
- CertifyCertificate
-
Method Summary
Modifier and TypeMethodDescriptionwithKey
(org.bouncycastle.openpgp.PGPSecretKeyRing certificationKey, SecretKeyRingProtector protector) Build the delegation using the given certification key.
-
Method Details
-
withKey
public CertifyCertificate.DelegationOnCertificateWithSubpackets withKey(@Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing certificationKey, @Nonnull SecretKeyRingProtector protector) throws org.bouncycastle.openpgp.PGPException Build the delegation using the given certification key.- Parameters:
certificationKey
- key to create the certification withprotector
- protector to unlock the certification key- Returns:
- API
- Throws:
org.bouncycastle.openpgp.PGPException
- in case of an OpenPGP related error
-