Package org.apache.wss4j.dom.message
Class SKISignatureTest
- java.lang.Object
-
- org.apache.wss4j.dom.message.SKISignatureTest
-
public class SKISignatureTest extends Object
WS-Security Test Case for SubjectKeyIdentifier.
-
-
Constructor Summary
Constructors Constructor Description SKISignatureTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testX509SignatureDSA_Autodetect()
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier.void
testX509SignatureDSA_SKI()
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier.void
testX509SignatureRSA_Autodetect()
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier.
-
-
-
Method Detail
-
testX509SignatureDSA_SKI
@Test public void testX509SignatureDSA_SKI() throws Exception
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier. This test uses the SubjectKeyIdentifier to identify the certificate. It uses the Direct version, that is it embeds the certificate in the message.- Throws:
Exception
- Thrown when there is any problem in signing or verification
-
testX509SignatureDSA_Autodetect
@Test public void testX509SignatureDSA_Autodetect() throws Exception
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier. This test uses the SubjectKeyIdentifier to identify the certificate. It gets a certificate with a DSA public key algo to sign, WSSignEnvelope shall detect the algo and set the signature algo accordingly.- Throws:
Exception
- Thrown when there is any problem in signing or verification
-
testX509SignatureRSA_Autodetect
@Test public void testX509SignatureRSA_Autodetect() throws Exception
Test that signs and verifies a WS-Security envelope using SubjectKeyIdentifier. This test uses the SubjectKeyIdentifier to identify the certificate. It gets a certificate with a RSA public key algo to sign, WSSignEnvelope shall detect the algo and set the signature algo accordingly.- Throws:
Exception
- Thrown when there is any problem in signing or verification
-
-