CertStore.java :  » Portal » Open-Portal » com » sun » portal » ksecurity » Java Open Source

Java Open Source » Portal » Open Portal 
Open Portal » com » sun » portal » ksecurity » CertStore.java
/*
 * @(#)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);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.