Package org.pgpainless.key.certification
Class CertifyCertificate.CertificationOnUserId
- java.lang.Object
-
- org.pgpainless.key.certification.CertifyCertificate.CertificationOnUserId
-
- Enclosing class:
- CertifyCertificate
public static class CertifyCertificate.CertificationOnUserId extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertifyCertificate.CertificationOnUserIdWithSubpackets
withKey(org.bouncycastle.openpgp.PGPSecretKeyRing certificationKey, SecretKeyRingProtector protector)
Create the certification using the given key.
-
-
-
Method Detail
-
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
-
-