Class ShadowSecureElementService.MockApplet

java.lang.Object
org.robolectric.shadows.ShadowSecureElementService.MockApplet
Enclosing class:
ShadowSecureElementService

public static class ShadowSecureElementService.MockApplet extends Object
Provide fake SE applet behavior
  • Constructor Details

    • MockApplet

      public MockApplet(String readerName, byte[] aid)
  • Method Details

    • addApduResponse

      public void addApduResponse(byte[] apduResponse)
    • setSelectResponse

      public void setSelectResponse(byte[] selectResponse)
    • getSelectResponse

      public byte[] getSelectResponse()
    • getAdpuRequests

      public List<byte[]> getAdpuRequests()
    • processRequestApdu

      public byte[] processRequestApdu(byte[] request)