mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 02:39:39 +02:00
Change argument type for toCertificate() method to more general PGPKeyRing
This commit is contained in:
parent
3a28b33355
commit
a00a90c175
1 changed files with 2 additions and 2 deletions
|
@ -80,8 +80,8 @@ class PGPainless(
|
||||||
fun toKey(secretKeyRing: PGPSecretKeyRing): OpenPGPKey =
|
fun toKey(secretKeyRing: PGPSecretKeyRing): OpenPGPKey =
|
||||||
OpenPGPKey(secretKeyRing, implementation)
|
OpenPGPKey(secretKeyRing, implementation)
|
||||||
|
|
||||||
fun toCertificate(publicKeyRing: PGPPublicKeyRing): OpenPGPCertificate =
|
fun toCertificate(keyOrCertificate: PGPKeyRing): OpenPGPCertificate =
|
||||||
OpenPGPCertificate(publicKeyRing, implementation)
|
OpenPGPCertificate(keyOrCertificate, implementation)
|
||||||
|
|
||||||
fun mergeCertificate(
|
fun mergeCertificate(
|
||||||
originalCopy: OpenPGPCertificate,
|
originalCopy: OpenPGPCertificate,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue