Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 3c237a6686ebb7c5ac5fd996f335571305d77e96 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                  



                                        



















                                                                                                  
/*******************************************************************************
 * Copyright (c) 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.osgi.framework.adaptor.core;

/**
 * Provides the implementation of signed bundle support for the framework adaptor.
 * <p>
 * Clients may implement this interface.
 * </p>
 * @since 3.1 
 */
public interface SignedBundleSupport {
	/**
	 * Create a new SignedBundle object
	 * @return a new SignedBundle object
	 */
	public SignedBundle createSignedBundle();

	/**
	 * Matches the distinguished name chain against a pattern of a distinguished name chain.
	 * 
	 * @param pattern the pattern of distinguished name (DN) chains to match
	 *        against the dnChain.
	 * @see org.eclipse.osgi.framework.adaptor.FrameworkAdaptor#matchDNChain(String, String[])
	 * @return true if a dnChain matches the pattern. A value of false is returned
	 * if bundle signing is not supported.
	 * @throws IllegalArgumentException
	 */
	public boolean matchDNChain(String pattern, String dnChain[]);
}

Back to the top