/*
* @(#)CertStore.java 1.14 02/07/24 @(#)
*
* Copyright (c) 2000-2002 Sun Microsystems, Inc. All rights reserved.
* PROPRIETARY/CONFIDENTIAL
* Use is subject to license terms.
*/
package com.sun.portal.ksecurity;
import com.sun.portal.kssl.*;
/**
* This <i>interface</i> supports storage of certificates (not private keys or
* symmetric keys).
*
*/
public interface CertStore {
/**
* Returns the certificate(s) corresponding to a
* subject name string.
*
* @param subjectName subject name of the certificate in printable form.
*
* @return corresponding certificates or null (if not found)
*/
abstract public X509Certificate[] getCertificates(String subjectName);
}
|