Commit Graph

2139 Commits

Author SHA1 Message Date
Paul Schaub ea57c4aec0
Kotlin conversion: EncryptionStream 2023-10-09 12:49:14 +02:00
Paul Schaub 9ee29f7a53
Kotlin conversion: IntegrityProtectedInputStream 2023-10-09 12:49:13 +02:00
Paul Schaub a6198aadb3
Kotlin conversion: RevocationAttributes 2023-10-09 12:49:13 +02:00
Paul Schaub 68ac5af255
Kotlin conversion: UserId 2023-10-09 12:49:13 +02:00
Paul Schaub ec8ae3eff0
Kotlin conversion: SecretKeyRingEditor 2023-10-09 12:49:13 +02:00
Paul Schaub 4719d6ccea
Migrate further to extension methods 2023-10-09 12:49:13 +02:00
Paul Schaub 68af0a4f0e
Introduce more extension methods 2023-10-09 12:49:12 +02:00
Paul Schaub bb796143ff
Improve public/secret key selection 2023-10-09 12:49:12 +02:00
Paul Schaub 76cf6173e8
Add test for OpenPgpFingerprint.getBytes() 2023-10-09 12:49:12 +02:00
Paul Schaub de3ea580e3
Add extension methods to PGPKeyRing, PGPSecretKeyRing and PGPSignature 2023-10-09 12:49:12 +02:00
Paul Schaub a0b01f121a
Remove KeyRingUtils.unlockSecretKey() 2023-10-09 12:49:12 +02:00
Paul Schaub 19063454cb
Add PGPSecretKey.unlock() methods 2023-10-09 12:49:11 +02:00
Paul Schaub 6f9e692474
Kotlin conversion: KeyRingInfo 2023-10-09 12:49:04 +02:00
Paul Schaub 85e2fe956a
Add test for SubkeyIdentifier.isPrimaryKey() 2023-10-09 12:45:47 +02:00
Paul Schaub 9ee0f09b8d
Fix bug caused by false field comparison in SubkeyIdentifier 2023-10-09 12:45:47 +02:00
Paul Schaub 8fe9d250a8
Kotlin conversion: KeyInfo 2023-10-09 12:45:47 +02:00
Paul Schaub b6e47d7739
Kotlin conversion: KeyAccessor 2023-10-09 12:45:47 +02:00
Paul Schaub ad734ca1b4
Kotlin conversion: XDH 2023-10-09 12:45:46 +02:00
Paul Schaub 521424c23a
Kotlin conversion: XDHSpec 2023-10-09 12:45:46 +02:00
Paul Schaub ac245fb56b
Kotlin conversion: RSA 2023-10-09 12:45:46 +02:00
Paul Schaub ca3ff6acce
Kotlin conversion: RsaLength 2023-10-09 12:45:46 +02:00
Paul Schaub 2d755be10e
Kotlin conversion: ElGamal 2023-10-09 12:45:46 +02:00
Paul Schaub 72147b685e
Kotlin conversion: ElGamalLength 2023-10-09 12:45:45 +02:00
Paul Schaub f8abb28a81
Turn KeyLength method into val 2023-10-09 12:45:45 +02:00
Paul Schaub 4382c1f20e
Kotlin conversion: EdDSA 2023-10-09 12:45:45 +02:00
Paul Schaub 8f49b01d51
Kotlin conversion: EdDSACurve 2023-10-09 12:45:45 +02:00
Paul Schaub 89b73895f5
Kotlin conversion: ECDSA 2023-10-09 12:45:45 +02:00
Paul Schaub 9e7a25ffe1
Kotlin conversion: ECDH 2023-10-09 12:45:45 +02:00
Paul Schaub 7f96272152
Kotlin conversion: EllipticCurve 2023-10-09 12:45:44 +02:00
Paul Schaub 13082215d6
Fix property access 2023-10-09 12:45:37 +02:00
Paul Schaub b3f4ba052a
Remove whitespace 2023-10-09 12:44:25 +02:00
Paul Schaub 472d5c4beb
Kotlin conversion: KeyType 2023-10-09 12:44:25 +02:00
Paul Schaub 1ebf8e1e6f
Kotlin conversion: KeyLength 2023-10-09 12:44:25 +02:00
Paul Schaub 0b071ff8e1
Kotlin conversion: CachingBcPublicKeyDataDecryptorFactory 2023-10-09 12:44:24 +02:00
Paul Schaub e8fef1f1f3
Add PGPKeyRingExtensions class and make use of it 2023-10-09 12:44:24 +02:00
Paul Schaub 6a23016104
Kotlin conversion: EncryptionResult 2023-10-09 12:44:24 +02:00
Paul Schaub a4cd965967
Kotlin conversion: ProducerOptions 2023-10-09 12:44:24 +02:00
Paul Schaub 5441993baf
Kotlin conversion: SigningOptions 2023-10-09 12:44:24 +02:00
Paul Schaub 6e653f3c92
Kotlin conversion: MissingKeyPassphraseStrategy 2023-10-09 12:44:23 +02:00
Paul Schaub 1234c8800a
Kotlin conversion: MissingPublicKeyCallback 2023-10-09 12:44:23 +02:00
Paul Schaub a268cfd51a
Add missing license header 2023-10-09 12:44:23 +02:00
Paul Schaub 4cfdcca2e0
Kotlin conversion: MessageMetadata 2023-10-09 12:44:23 +02:00
Paul Schaub b09979fa45
Kotlin conversion: HardwareSecurity 2023-10-09 12:44:23 +02:00
Paul Schaub 3115e13bc2
Kotlin conversion: CustomPublicKeyDataDecryptorFactory 2023-10-09 12:44:22 +02:00
Paul Schaub d8df6c35d0
Rename heyKeyId -> openPgpKeyId 2023-10-09 12:44:22 +02:00
Paul Schaub 39e170064c
Kotlin conversion: NotationRegistry 2023-10-09 12:44:22 +02:00
Paul Schaub dc064d1727
Kotlin conversion: KeyRingUtils 2023-10-09 12:44:22 +02:00
Paul Schaub ab42a7503f
Replace usage of KeyIdUtil.formatKeyId() in Kotlin classes with Long.hexKeyId() 2023-10-09 12:44:22 +02:00
Paul Schaub 44c22f9044
Kotlin conversion: KeyIdUtil
This PR also introduces LongExtensions.kt which provides extension methods to
parse Long from Hex KeyIDs and to format Longs as Hex KeyIDs.
2023-10-09 12:44:22 +02:00
Paul Schaub d075ed6637
Kotlin conversion: PGPKeyRingCollection 2023-10-09 12:44:21 +02:00