mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-10 10:49:39 +02:00
Change argument type for toCertificate() method to more general PGPKeyRing
This commit is contained in:
parent
2be5525ec2
commit
4042db262c
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