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:
parent
3a28b33355
commit
a00a90c175
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue