Class CertifyCertificate.CertificationOnUserId

java.lang.Object
org.pgpainless.key.certification.CertifyCertificate.CertificationOnUserId
Enclosing class:
CertifyCertificate

public static class CertifyCertificate.CertificationOnUserId extends Object
  • 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 certification
      protector - protector to unlock the certification key
      Returns:
      API
      Throws:
      org.bouncycastle.openpgp.PGPException - in case of an OpenPGP related error