Class CertifyCertificate.CertificationOnUserId

  • Enclosing class:
    CertifyCertificate

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