public class AlgorithmSuiteValidator extends Object
Constructor and Description |
---|
AlgorithmSuiteValidator(AlgorithmSuite algorithmSuite) |
Modifier and Type | Method and Description |
---|---|
void |
checkAsymmetricKeyLength(PublicKey publicKey)
Check the asymmetric key length
|
void |
checkAsymmetricKeyLength(X509Certificate x509Certificate)
Check the asymmetric key length
|
void |
checkAsymmetricKeyLength(X509Certificate[] x509Certificates)
Check the asymmetric key length
|
void |
checkC14nAlgorithm(String c14nAlgorithm)
Check the C14n Algorithm
|
void |
checkDerivedKeyAlgorithm(String algorithm)
Check Derived Key algorithm
|
void |
checkEncryptionDerivedKeyLength(int derivedKeyLength)
Check Encryption Derived Key length (in bytes)
|
void |
checkEncryptionKeyWrapAlgorithm(String keyWrapAlgorithm) |
void |
checkSignatureAlgorithms(XMLSignature xmlSignature)
Check the Signature Algorithms
|
void |
checkSignatureDerivedKeyLength(int derivedKeyLength)
Check Signature Derived Key length (in bytes)
|
void |
checkSignatureMethod(String signatureMethod)
Check the Signature Method
|
void |
checkSymmetricEncryptionAlgorithm(String symmetricAlgorithm) |
void |
checkSymmetricKeyLength(int secretKeyLength)
Check the symmetric key length
|
public AlgorithmSuiteValidator(AlgorithmSuite algorithmSuite)
public void checkSignatureMethod(String signatureMethod) throws WSSecurityException
WSSecurityException
public void checkC14nAlgorithm(String c14nAlgorithm) throws WSSecurityException
WSSecurityException
public void checkSignatureAlgorithms(XMLSignature xmlSignature) throws WSSecurityException
WSSecurityException
public void checkEncryptionKeyWrapAlgorithm(String keyWrapAlgorithm) throws WSSecurityException
WSSecurityException
public void checkSymmetricEncryptionAlgorithm(String symmetricAlgorithm) throws WSSecurityException
WSSecurityException
public void checkAsymmetricKeyLength(X509Certificate[] x509Certificates) throws WSSecurityException
WSSecurityException
public void checkAsymmetricKeyLength(X509Certificate x509Certificate) throws WSSecurityException
WSSecurityException
public void checkAsymmetricKeyLength(PublicKey publicKey) throws WSSecurityException
WSSecurityException
public void checkSymmetricKeyLength(int secretKeyLength) throws WSSecurityException
WSSecurityException
public void checkSignatureDerivedKeyLength(int derivedKeyLength) throws WSSecurityException
WSSecurityException
public void checkEncryptionDerivedKeyLength(int derivedKeyLength) throws WSSecurityException
WSSecurityException
public void checkDerivedKeyAlgorithm(String algorithm) throws WSSecurityException
WSSecurityException
Copyright © 2021 JBoss by Red Hat. All rights reserved.