1 package com.atlassian.security.auth.trustedapps;
2
3 import java.security.PublicKey;
4
5 /**
6 * Represents a base of an application that can participate in a trusted relationship.
7 */
8 public interface Application
9 {
10 /**
11 * Public key of this application. Public key will be sent to the remote server when requesting it to trust this application.
12 */
13 PublicKey getPublicKey();
14
15 /**
16 * @return Unique ID representing this application
17 */
18 String getID();
19 }