com.sun.xml.ws.security.trust.elements.Entropy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-rt Show documentation
Show all versions of webservices-rt Show documentation
This module contains the Metro runtime code.
/*
* Copyright (c) 2010, 2018 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
*/
/*
* $Id: Entropy.java,v 1.2 2010-10-21 15:35:40 snajper Exp $
*/
package com.sun.xml.ws.security.trust.elements;
import java.util.List;
import java.util.Map;
import javax.xml.namespace.QName;
import com.sun.xml.ws.security.EncryptedKey;
/**
*
* @author WS-Trust Implementation Team
*/
public interface Entropy {
/**
* Constants defining the Type of Entropy
*/
public static final String BINARY_SECRET_TYPE="BinarySecret";
public static final String ENCRYPTED_KEY_TYPE="EncryptedKey";
public static final String CUSTOM_TYPE="Custom";
/**
*Gets the type of the Entropy contents
*/
String getEntropyType();
/**
*Sets the type of the Entropy contents
*/
void setEntropyType(String entropyType);
/**
* Gets the value of the any property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the any property.
*
*
* For example, to add a new item, do as follows:
*
* getAny().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
List