1   package com.atlassian.security.auth.trustedapps;
2   
3   import java.security.PrivateKey;
4   import java.security.PublicKey;
5   
6   class MockKey implements PublicKey, PrivateKey
7   {
8       public String getAlgorithm()
9       {
10          return "ALGY";
11      }
12  
13      public byte[] getEncoded()
14      {
15          return new byte[] { 1, 2, 3, 4 };
16      }
17  
18      public String getFormat()
19      {
20          return "format";
21      }
22  }