From 2f2a19f2e7f3522cdb80031f980f8b4c1356b2f1 Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 13 Mar 2019 22:43:56 -0400 Subject: add Android bindings for PK signing --- android/olm-sdk/src/main/java/org/matrix/olm/OlmException.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'android/olm-sdk/src/main/java') diff --git a/android/olm-sdk/src/main/java/org/matrix/olm/OlmException.java b/android/olm-sdk/src/main/java/org/matrix/olm/OlmException.java index 5b534d5..532f318 100644 --- a/android/olm-sdk/src/main/java/org/matrix/olm/OlmException.java +++ b/android/olm-sdk/src/main/java/org/matrix/olm/OlmException.java @@ -1,6 +1,6 @@ /* * Copyright 2017 OpenMarket Ltd - * Copyright 2017 Vector Creations Ltd + * Copyright 2017-2019 Vector Creations Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -71,6 +71,11 @@ public class OlmException extends IOException { public static final int EXCEPTION_CODE_PK_DECRYPTION_SET_PRIVATE_KEY = 703; public static final int EXCEPTION_CODE_PK_DECRYPTION_PRIVATE_KEY = 704; + public static final int EXCEPTION_CODE_PK_SIGNING_CREATION = 800; + public static final int EXCEPTION_CODE_PK_SIGNING_GENERATE_SEED = 801; + public static final int EXCEPTION_CODE_PK_SIGNING_INIT_WITH_SEED = 802; + public static final int EXCEPTION_CODE_PK_SIGNING_SIGN = 803; + // exception human readable messages public static final String EXCEPTION_MSG_INVALID_PARAMS_DESERIALIZATION = "invalid de-serialized parameters"; -- cgit v1.2.3