01: /*
02: * @(#)CertStore.java 1.14 02/07/24 @(#)
03: *
04: * Copyright (c) 2000-2002 Sun Microsystems, Inc. All rights reserved.
05: * PROPRIETARY/CONFIDENTIAL
06: * Use is subject to license terms.
07: */
08:
09: package com.sun.portal.ksecurity;
10:
11: import com.sun.portal.kssl.*;
12:
13: /**
14: * This <i>interface</i> supports storage of certificates (not private keys or
15: * symmetric keys).
16: *
17: */
18: public interface CertStore {
19: /**
20: * Returns the certificate(s) corresponding to a
21: * subject name string.
22: *
23: * @param subjectName subject name of the certificate in printable form.
24: *
25: * @return corresponding certificates or null (if not found)
26: */
27: abstract public X509Certificate[] getCertificates(String subjectName);
28: }
|