Package org.apache.wss4j.common.crypto
Class SKITest
- java.lang.Object
-
- org.apache.wss4j.common.crypto.SKITest
-
public class SKITest extends Object
This is a test for WSS-300 - "SubjectKeyIdentifier (SKI) incorrectly calculated for 2048-bit RSA key". The SKI value WSS4J generates for various key sizes is tested against the output from openssl, e.g.: openssl x509 -inform der -ocspid -in wss40_server.crt | grep 'Public key OCSP hash' | perl -ne 'split; print pack("H*",$_[4])' | base64
-
-
Constructor Summary
Constructors Constructor Description SKITest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testBouncyCastlePKCS12()
void
testRSA1024()
void
testRSA2048()
-