01: package com.sun.portal.netlet.crypt.jsse;
02:
03: /*
04: *
05: * Specifies the supported KeyStore types
06: */
07:
08: public class KeyStoreType {
09:
10: private String type = null;
11: private String provider = null;
12: public static final KeyStoreType JKS = new KeyStoreType("JKS",
13: "SUN");
14: public static final KeyStoreType PKCS12 = new KeyStoreType(
15: "PKCS12", "SunJSSE");
16:
17: public KeyStoreType(String type, String provider) {
18: this .type = type;
19: this .provider = provider;
20: }
21:
22: public String toString() {
23: return this .type;
24: }
25:
26: public String getProvider() {
27: return this.provider;
28: }
29: }
|