All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.ws.security.policy.SignedParts Maven / Gradle / Ivy

There is a newer version: 4.0.4
Show newest version
/*
 * Copyright (c) 1997, 2022 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Distribution License v. 1.0, which is available at
 * http://www.eclipse.org/org/documents/edl-v10.php.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

package com.sun.xml.ws.security.policy;

import java.util.Iterator;



/**
 * This interface identifies targets in the message that need to be integrity protected. The targets if present should be integrity protected.
 * 

* Syntax: * *

{@code
 *   
 *       <sp:SignedParts ... >
 *            <sp:Body />?
 *            <sp:Header Name="xs:NCName"? Namespace="xs:anyURI" ... />*
 *                  ...
 *       </sp:SignedParts>
 *   
 * }
* * @author [email protected] */ public interface SignedParts extends Target { /** * * @return true if the body is to be integrity protected. */ boolean hasBody(); /** * * @return true if the attachments are to be integrity protected */ boolean hasAttachments(); /** * * @return the URI of transform to be applied on attachment, the default is * Attachment-Complete-Transform */ String attachmentProtectionType(); /** * {@link java.util.Iterator } over list of Headers that identify targets in the SOAP header * to be integrity protected. * @return {@link java.util.Iterator } */ Iterator getHeaders(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy