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