aboutsummaryrefslogtreecommitdiff
path: root/ready_se/google/keymint/KM200/Applet/AndroidSEProviderLib/src/com/android/javacard/seprovider/KMKey.java
blob: 9894382e28e4b05ddd6b6c83ff1d36eeae8d0b52 (plain)
1
2
3
4
5
6
7
8
9
10
package com.android.javacard.seprovider;

/**
 * This interface helps to decouple Javacard internal key objects from the keymaster package. Using
 * Javacard key objects provides security by providing protection against side channel attacks.
 * KMAESKey, KMECDeviceUniqueKey and KMHmacKey implements this interface.
 */
public interface KMKey {
  short getPublicKey(byte[] buf, short offset);
}