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