/*
 * Copyright 2004,2005 The Apache Software Foundation.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.ws.security.policy;

import java.util.ArrayList;

/**
 * 
 * This class holds data and parameters for a specific token. The
 * signedParts/Elements and encryptedParts/Elements lists hold additional
 * information in case of supporting tokens.
 * 
 * <p/>
 * 
 * The data is not declared as private to provide direct access from
 * other classes in this package.
 * 
 * @author Werner Dittmann (werner@apache.org)
 */
public class WSS4JPolicyToken {
	
	public static int X509Token = 1;
	
	int tokenType;
	
	String sigAlgorithm;

	int keyIdentifier;

	String encAlgorithm;

	String encTransportAlgorithm;

	ArrayList sigParts;

	ArrayList sigElements;

	ArrayList encParts;

	ArrayList encElements;

	/**
	 * @return Returns the tokenType.
	 */
	public int getTokenType() {
		return tokenType;
	}

	/**
	 * @return Returns the encAlgorithm.
	 */
	public String getEncAlgorithm() {
		return encAlgorithm;
	}

	/**
	 * @return Returns the encElements.
	 */
	public ArrayList getEncElements() {
		return encElements;
	}

	/**
	 * @return Returns the encKeyIdentifier.
	 */
	public int getKeyIdentifier() {
		return keyIdentifier;
	}

	/**
	 * @return Returns the encParts.
	 */
	public ArrayList getEncParts() {
		return encParts;
	}

	/**
	 * @return Returns the encTransportAlgorithm.
	 */
	public String getEncTransportAlgorithm() {
		return encTransportAlgorithm;
	}

	/**
	 * @return Returns the sigAlgorithm.
	 */
	public String getSigAlgorithm() {
		return sigAlgorithm;
	}

	/**
	 * @return Returns the sigElements.
	 */
	public ArrayList getSigElements() {
		return sigElements;
	}

	/**
	 * @return Returns the sigParts.
	 */
	public ArrayList getSigParts() {
		return sigParts;
	}

    /**
     * @return
     */
    public int getEncKeyIdentifier() {
        // TODO TODO
        throw new UnsupportedOperationException("TODO");
    }

    /**
     * @return
     */
    public int getSigKeyIdentifier() {
        // TODO TODO
        throw new UnsupportedOperationException("TODO");
    }
}

@@ -2441,334 +2441,8 @@
 %0A%09%7D%0D
-%0A%0D%0A    /**%0D%0A     * @return%0D%0A     */%0D%0A    public int getEncKeyIdentifier() %7B%0D%0A        // TODO TODO%0D%0A        throw new UnsupportedOperationException(%22TODO%22);%0D%0A    %7D%0D%0A%0D%0A    /**%0D%0A     * @return%0D%0A     */%0D%0A    public int getSigKeyIdentifier() %7B%0D%0A        // TODO TODO%0D%0A        throw new UnsupportedOperationException(%22TODO%22);%0D%0A    %7D%0D
 %0A%7D%0D%0A

Remove temporarily inserted methods.