Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build-logic/src/main/kotlin/ckbuild/Projects.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ object Projects {
"cryptography-serialization-asn1-modules" to setOf(Tag.PUBLISHED),

"cryptography-core" to setOf(Tag.PUBLISHED),
"cryptography-storage" to setOf(Tag.PUBLISHED),

"cryptography-provider-base" to setOf(Tag.PUBLISHED),
"cryptography-provider-jdk" to setOf(Tag.PUBLISHED),
Expand Down
104 changes: 104 additions & 0 deletions cryptography-storage/api/cryptography-storage.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
public final class dev/whyoleg/cryptography/storage/AccessPolicy {
public fun <init> ()V
public fun <init> (ZLdev/whyoleg/cryptography/storage/Accessibility;Ldev/whyoleg/cryptography/storage/DeviceBinding;Z)V
public synthetic fun <init> (ZLdev/whyoleg/cryptography/storage/Accessibility;Ldev/whyoleg/cryptography/storage/DeviceBinding;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Z
public final fun component2 ()Ldev/whyoleg/cryptography/storage/Accessibility;
public final fun component3 ()Ldev/whyoleg/cryptography/storage/DeviceBinding;
public final fun component4 ()Z
public final fun copy (ZLdev/whyoleg/cryptography/storage/Accessibility;Ldev/whyoleg/cryptography/storage/DeviceBinding;Z)Ldev/whyoleg/cryptography/storage/AccessPolicy;
public static synthetic fun copy$default (Ldev/whyoleg/cryptography/storage/AccessPolicy;ZLdev/whyoleg/cryptography/storage/Accessibility;Ldev/whyoleg/cryptography/storage/DeviceBinding;ZILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/AccessPolicy;
public fun equals (Ljava/lang/Object;)Z
public final fun getAccessibility ()Ldev/whyoleg/cryptography/storage/Accessibility;
public final fun getDeviceBinding ()Ldev/whyoleg/cryptography/storage/DeviceBinding;
public final fun getExportablePrivate ()Z
public final fun getRequireUserPresence ()Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/whyoleg/cryptography/storage/Accessibility : java/lang/Enum {
public static final field AfterFirstUnlock Ldev/whyoleg/cryptography/storage/Accessibility;
public static final field Always Ldev/whyoleg/cryptography/storage/Accessibility;
public static final field WhenPasscodeSetThisDeviceOnly Ldev/whyoleg/cryptography/storage/Accessibility;
public static final field WhenUnlocked Ldev/whyoleg/cryptography/storage/Accessibility;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Ldev/whyoleg/cryptography/storage/Accessibility;
public static fun values ()[Ldev/whyoleg/cryptography/storage/Accessibility;
}

public abstract interface class dev/whyoleg/cryptography/storage/AsymmetricStore {
public abstract fun delete ([B)Z
public abstract fun exists ([B)Z
public abstract fun generate ([BLdev/whyoleg/cryptography/storage/AccessPolicy;)Ldev/whyoleg/cryptography/storage/Handle;
public static synthetic fun generate$default (Ldev/whyoleg/cryptography/storage/AsymmetricStore;[BLdev/whyoleg/cryptography/storage/AccessPolicy;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/Handle;
public abstract fun get ([B)Ldev/whyoleg/cryptography/storage/Handle;
}

public final class dev/whyoleg/cryptography/storage/DeviceBinding : java/lang/Enum {
public static final field None Ldev/whyoleg/cryptography/storage/DeviceBinding;
public static final field SecureEnclavePreferred Ldev/whyoleg/cryptography/storage/DeviceBinding;
public static final field ThisDeviceOnly Ldev/whyoleg/cryptography/storage/DeviceBinding;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public static fun valueOf (Ljava/lang/String;)Ldev/whyoleg/cryptography/storage/DeviceBinding;
public static fun values ()[Ldev/whyoleg/cryptography/storage/DeviceBinding;
}

public abstract interface annotation class dev/whyoleg/cryptography/storage/ExperimentalKeyStorageApi : java/lang/annotation/Annotation {
}

public final class dev/whyoleg/cryptography/storage/Handle {
public fun <init> (Ljava/lang/Object;Ljava/lang/Object;Ldev/whyoleg/cryptography/storage/KeyAttributes;)V
public final fun component1 ()Ljava/lang/Object;
public final fun component2 ()Ljava/lang/Object;
public final fun component3 ()Ldev/whyoleg/cryptography/storage/KeyAttributes;
public final fun copy (Ljava/lang/Object;Ljava/lang/Object;Ldev/whyoleg/cryptography/storage/KeyAttributes;)Ldev/whyoleg/cryptography/storage/Handle;
public static synthetic fun copy$default (Ldev/whyoleg/cryptography/storage/Handle;Ljava/lang/Object;Ljava/lang/Object;Ldev/whyoleg/cryptography/storage/KeyAttributes;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/Handle;
public fun equals (Ljava/lang/Object;)Z
public final fun getAttributes ()Ldev/whyoleg/cryptography/storage/KeyAttributes;
public final fun getPrivate ()Ljava/lang/Object;
public final fun getPublic ()Ljava/lang/Object;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public final class dev/whyoleg/cryptography/storage/KeyAttributes {
public fun <init> (ZZ[B)V
public final fun component1 ()Z
public final fun component2 ()Z
public final fun component3 ()[B
public final fun copy (ZZ[B)Ldev/whyoleg/cryptography/storage/KeyAttributes;
public static synthetic fun copy$default (Ldev/whyoleg/cryptography/storage/KeyAttributes;ZZ[BILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/KeyAttributes;
public fun equals (Ljava/lang/Object;)Z
public final fun getExtractable ()Z
public final fun getLabel ()[B
public final fun getPersistent ()Z
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}

public abstract interface class dev/whyoleg/cryptography/storage/KeyStore {
public abstract fun aesCbc-6q1zMKY (I)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public static synthetic fun aesCbc-6q1zMKY$default (Ldev/whyoleg/cryptography/storage/KeyStore;IILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public abstract fun aesCtr-6q1zMKY (I)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public static synthetic fun aesCtr-6q1zMKY$default (Ldev/whyoleg/cryptography/storage/KeyStore;IILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public abstract fun aesGcm-6q1zMKY (I)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public static synthetic fun aesGcm-6q1zMKY$default (Ldev/whyoleg/cryptography/storage/KeyStore;IILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/SymmetricStore;
public abstract fun ecdsa-yfdS0HE (Ljava/lang/String;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public static synthetic fun ecdsa-yfdS0HE$default (Ldev/whyoleg/cryptography/storage/KeyStore;Ljava/lang/String;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public abstract fun rsaOaep-ksXStGo (ILdev/whyoleg/cryptography/CryptographyAlgorithmId;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public static synthetic fun rsaOaep-ksXStGo$default (Ldev/whyoleg/cryptography/storage/KeyStore;ILdev/whyoleg/cryptography/CryptographyAlgorithmId;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public abstract fun rsaPkcs1-ksXStGo (ILdev/whyoleg/cryptography/CryptographyAlgorithmId;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public static synthetic fun rsaPkcs1-ksXStGo$default (Ldev/whyoleg/cryptography/storage/KeyStore;ILdev/whyoleg/cryptography/CryptographyAlgorithmId;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public abstract fun rsaPss-ksXStGo (ILdev/whyoleg/cryptography/CryptographyAlgorithmId;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
public static synthetic fun rsaPss-ksXStGo$default (Ldev/whyoleg/cryptography/storage/KeyStore;ILdev/whyoleg/cryptography/CryptographyAlgorithmId;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/AsymmetricStore;
}

public abstract interface class dev/whyoleg/cryptography/storage/SymmetricStore {
public abstract fun delete ([B)Z
public abstract fun exists ([B)Z
public abstract fun generate ([BLdev/whyoleg/cryptography/storage/AccessPolicy;)Ldev/whyoleg/cryptography/storage/Handle;
public static synthetic fun generate$default (Ldev/whyoleg/cryptography/storage/SymmetricStore;[BLdev/whyoleg/cryptography/storage/AccessPolicy;ILjava/lang/Object;)Ldev/whyoleg/cryptography/storage/Handle;
public abstract fun get ([B)Ldev/whyoleg/cryptography/storage/Handle;
}

Loading