Initial commit from SVN.
This commit is contained in:
32
TLS Test/src/com/de22/tls/TlsApp.java
Normal file
32
TLS Test/src/com/de22/tls/TlsApp.java
Normal file
@@ -0,0 +1,32 @@
|
||||
package com.de22.tls;
|
||||
|
||||
import java.security.KeyStore;
|
||||
|
||||
/**
|
||||
* The pairing of a keystore and the domain name it applies to.
|
||||
*/
|
||||
public class TlsApp {
|
||||
private KeyStore keyStore;
|
||||
private String domain;
|
||||
/**
|
||||
* TlsApp constructor.
|
||||
* @param domain
|
||||
* @param keyStore
|
||||
*/
|
||||
public TlsApp(String domain, KeyStore keyStore) {
|
||||
this.domain = domain;
|
||||
this.keyStore = keyStore;
|
||||
}//TlsApp()//
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public String getDomain() {
|
||||
return domain;
|
||||
}//getDomain()//
|
||||
/**
|
||||
* @return
|
||||
*/
|
||||
public KeyStore getKeyStore() {
|
||||
return keyStore;
|
||||
}//getKeyStore()//
|
||||
}//TlsApp//
|
||||
Reference in New Issue
Block a user