Method main
KeyStore ks = KeyStore.getInstance(KeyStore.getDefaultType());
ks.load(
new java.io.FileInputStream(
"data/com/sun/org/apache/xml/internal/security/samples/input/keystore.jks"),
"xmlsecurity".toCharArray());
KeyStoreResolver krs = new KeyStoreResolver(ks);
for (Iterator i = krs.getIterator(); i.hasNext(); ) {
X509Certificate cert = (X509Certificate) i.next();
byte[] ski =
com.sun.org.apache.xml.internal.security.keys.content.x509.XMLX509SKI
.getSKIBytesFromCert(cert);
System.out.println(com.sun.org.apache.xml.internal.security.utils.Base64.encode(ski));
}