1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-09 02:09:38 +02:00

Change argument type for toCertificate() method to more general PGPKeyRing

This commit is contained in:
Paul Schaub 2025-03-20 19:33:29 +01:00
parent 3a28b33355
commit a00a90c175
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -80,8 +80,8 @@ class PGPainless(
fun toKey(secretKeyRing: PGPSecretKeyRing): OpenPGPKey =
OpenPGPKey(secretKeyRing, implementation)
fun toCertificate(publicKeyRing: PGPPublicKeyRing): OpenPGPCertificate =
OpenPGPCertificate(publicKeyRing, implementation)
fun toCertificate(keyOrCertificate: PGPKeyRing): OpenPGPCertificate =
OpenPGPCertificate(keyOrCertificate, implementation)
fun mergeCertificate(
originalCopy: OpenPGPCertificate,