aboutsummaryrefslogtreecommitdiff
path: root/crypto-common/src/main/kotlin
diff options
context:
space:
mode:
Diffstat (limited to 'crypto-common/src/main/kotlin')
-rw-r--r--crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt (renamed from crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/CryptoHandler.kt)4
-rw-r--r--crypto-common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt (renamed from crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/KeyManager.kt)4
-rw-r--r--crypto-common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt (renamed from crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/errors/CryptoException.kt)6
3 files changed, 7 insertions, 7 deletions
diff --git a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/CryptoHandler.kt b/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt
index e8e9f995..952f4a7e 100644
--- a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/CryptoHandler.kt
+++ b/crypto-common/src/main/kotlin/app/passwordstore/crypto/CryptoHandler.kt
@@ -3,10 +3,10 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-package dev.msfjarvis.aps.crypto
+package app.passwordstore.crypto
+import app.passwordstore.crypto.errors.CryptoHandlerException
import com.github.michaelbull.result.Result
-import dev.msfjarvis.aps.crypto.errors.CryptoHandlerException
import java.io.InputStream
import java.io.OutputStream
diff --git a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/KeyManager.kt b/crypto-common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt
index b7783163..31e1710d 100644
--- a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/KeyManager.kt
+++ b/crypto-common/src/main/kotlin/app/passwordstore/crypto/KeyManager.kt
@@ -3,7 +3,7 @@
* SPDX-License-Identifier: GPL-3.0-only
*/
-package dev.msfjarvis.aps.crypto
+package app.passwordstore.crypto
import com.github.michaelbull.result.Result
@@ -16,7 +16,7 @@ public interface KeyManager<Key, KeyIdentifier> {
/**
* Inserts a [key] into the store. If the key already exists, this method will return
- * [dev.msfjarvis.aps.crypto.errors.KeyAlreadyExistsException] unless [replace] is `true`.
+ * [app.passwordstore.crypto.errors.KeyAlreadyExistsException] unless [replace] is `true`.
*/
public suspend fun addKey(key: Key, replace: Boolean = false): Result<Key, Throwable>
diff --git a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/errors/CryptoException.kt b/crypto-common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt
index b795bbf1..81bdf95f 100644
--- a/crypto-common/src/main/kotlin/dev/msfjarvis/aps/crypto/errors/CryptoException.kt
+++ b/crypto-common/src/main/kotlin/app/passwordstore/crypto/errors/CryptoException.kt
@@ -1,6 +1,6 @@
-package dev.msfjarvis.aps.crypto.errors
+package app.passwordstore.crypto.errors
-import dev.msfjarvis.aps.crypto.KeyManager
+import app.passwordstore.crypto.KeyManager
public sealed class CryptoException(message: String? = null, cause: Throwable? = null) :
Exception(message, cause)
@@ -30,7 +30,7 @@ public class KeyNotFoundException(keyId: String) :
public class KeyAlreadyExistsException(keyId: String) :
KeyManagerException("Pre-existing key was found for $keyId")
-/** Sealed exception types for [dev.msfjarvis.aps.crypto.CryptoHandler]. */
+/** Sealed exception types for [app.passwordstore.crypto.CryptoHandler]. */
public sealed class CryptoHandlerException(message: String? = null, cause: Throwable? = null) :
CryptoException(message, cause)