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
WSSecurityExceptionpublic void checkC14nAlgorithm(String c14nAlgorithm) throws WSSecurityException
WSSecurityExceptionpublic void checkSignatureAlgorithms(XMLSignature xmlSignature) throws WSSecurityException
WSSecurityExceptionpublic void checkEncryptionKeyWrapAlgorithm(String keyWrapAlgorithm) throws WSSecurityException
WSSecurityExceptionpublic void checkSymmetricEncryptionAlgorithm(String symmetricAlgorithm) throws WSSecurityException
WSSecurityExceptionpublic void checkAsymmetricKeyLength(X509Certificate[] x509Certificates) throws WSSecurityException
WSSecurityExceptionpublic void checkAsymmetricKeyLength(X509Certificate x509Certificate) throws WSSecurityException
WSSecurityExceptionpublic void checkAsymmetricKeyLength(PublicKey publicKey) throws WSSecurityException
WSSecurityExceptionpublic void checkSymmetricKeyLength(int secretKeyLength)
throws WSSecurityException
WSSecurityExceptionpublic void checkSignatureDerivedKeyLength(int derivedKeyLength)
throws WSSecurityException
WSSecurityExceptionpublic void checkEncryptionDerivedKeyLength(int derivedKeyLength)
throws WSSecurityException
WSSecurityExceptionpublic void checkDerivedKeyAlgorithm(String algorithm) throws WSSecurityException
WSSecurityExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.