com.sun.xml.ws.security.policy.AlgorithmSuite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of webservices-osgi Show documentation
Show all versions of webservices-osgi Show documentation
Metro Web Services Runtime OSGi Bundle
The 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.Set;
/**
* Represents the AlgorithmSuite assertion.
*
* Syntax :
*
*
{@code
*
*
*
* (
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
* |
*
* ...)
* ?
* ?
* ?
* ?
* ?
* ...
*
* ...
*
*
*}
*
* @author [email protected]
*/
public interface AlgorithmSuite {
String INCLUSIVE14N="InclusiveC14N";
String SOAP_NORMALIZATION10="SOAPNormalization10";
String STR_TRANSFORM10="STRTransform10";
String XPATH10="XPath10";
String XPATH_FILTER20="XPathFilter20";
int MAX_SKL = 256;
int MAX_AKL = 4096;
int MIN_AKL = 1024;
/**
* returns the Algorithm suite to be used.
* @return {@link AlgorithmSuiteValue}
*/
AlgorithmSuiteValue getType();
/**
* Property set containing INCLUSIVE14N,SOAP_NORMALIZATION10,STR_TRANSFORM10,XPATH10,XPATH_FILTER20
* @return list identifying the properties
*/
Set getAdditionalProps();
/**
* Gets the Digest algorithm identified by this AlgorithmSuite.
* @return String
*/
String getDigestAlgorithm();
/**
* Gets the Encryption algorithm
*/
String getEncryptionAlgorithm();
/**
* Gets the Symmetric key signature algorithm
*/
String getSymmetricKeySignatureAlgorithm();
/**
* Gets the Asymmetric key signature algorithm
*/
String getAsymmetricKeySignatureAlgorithm();
/**
* Gets the Symmetric Key algorithm
*/
String getSymmetricKeyAlgorithm();
/**
* Get the Assymetric key algorithm
*/
String getAsymmetricKeyAlgorithm();
/**
* Gets the Signature key derivation algorithm
*/
String getSignatureKDAlogrithm();
/**
* Gets the Encryprion key derivation algorithm
*/
String getEncryptionKDAlogrithm();
/**
* Gets minimum key length for symmetric key algorithm.
*/
int getMinSKLAlgorithm();
/*
* Gets the computed key algorithm
*/
String getComputedKeyAlgorithm();
/*
*Gets the Maximum symmetric key length
*/
int getMaxSymmetricKeyLength();
/*
*Gets the minimum Asymmetric key length
*/
int getMinAsymmetricKeyLength();
/*
*Gets the maximum Asymmetric key length
*/
int getMaxAsymmetricKeyLength();
void setSignatureAlgorithm(String sigAlgo);
String getSignatureAlgorithm();
}