1// Signature format: 2.0
2package android.security.rkp.service {
3
4  public class RegistrationProxy {
5    method public static void createAsync(@NonNull android.content.Context, int, @NonNull String, @NonNull java.time.Duration, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.security.rkp.service.RegistrationProxy,java.lang.Exception>);
6    method public void getKeyAsync(int, @NonNull android.os.CancellationSignal, @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<android.security.rkp.service.RemotelyProvisionedKey,java.lang.Exception>);
7    method public void storeUpgradedKeyAsync(@NonNull byte[], @NonNull byte[], @NonNull java.util.concurrent.Executor, @NonNull android.os.OutcomeReceiver<java.lang.Void,java.lang.Exception>);
8  }
9
10  public class RemotelyProvisionedKey {
11    method @NonNull public byte[] getEncodedCertChain();
12    method @NonNull public byte[] getKeyBlob();
13  }
14
15  public final class RkpProxyException extends java.lang.Exception {
16    ctor public RkpProxyException(int, @NonNull String);
17    ctor public RkpProxyException(int, @NonNull String, @NonNull Throwable);
18    method public int getError();
19    field public static final int ERROR_PENDING_INTERNET_CONNECTIVITY = 2; // 0x2
20    field public static final int ERROR_PERMANENT = 3; // 0x3
21    field public static final int ERROR_REQUIRES_SECURITY_PATCH = 1; // 0x1
22    field public static final int ERROR_UNKNOWN = 0; // 0x0
23  }
24
25}
26
27