mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-06-26 13:34:49 +02:00
11 lines
365 B
Kotlin
11 lines
365 B
Kotlin
|
// SPDX-FileCopyrightText: 2023 Paul Schaub <vanitasvitae@fsfe.org>
|
||
|
//
|
||
|
// SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
package org.bouncycastle.extensions
|
||
|
|
||
|
import org.bouncycastle.openpgp.PGPPublicKeyRing
|
||
|
import org.bouncycastle.openpgp.PGPSecretKeyRing
|
||
|
|
||
|
val PGPSecretKeyRing.certificate: PGPPublicKeyRing
|
||
|
get() = PGPPublicKeyRing(this.publicKeys.asSequence().toList())
|