DigiStamp.com

com.digistamp.pdf
Class SignerKeystorePKCS12

java.lang.Object
  extended by com.digistamp.pdf.SignerKeystorePKCS12
All Implemented Interfaces:
SignerKeystore

public class SignerKeystorePKCS12
extends java.lang.Object
implements SignerKeystore

SignerKeystore implementation using PKCS#12 file (.pfx etc)


Field Summary
 java.security.KeyStore ks
           
 
Constructor Summary
SignerKeystorePKCS12(java.io.InputStream inp, java.lang.String passw)
           
 
Method Summary
 java.security.cert.Certificate[] getChain()
           
 java.security.PrivateKey getPrivateKey()
           
 java.security.Provider getProvider()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ks

public java.security.KeyStore ks
Constructor Detail

SignerKeystorePKCS12

public SignerKeystorePKCS12(java.io.InputStream inp,
                            java.lang.String passw)
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getChain

public java.security.cert.Certificate[] getChain()
Specified by:
getChain in interface SignerKeystore

getPrivateKey

public java.security.PrivateKey getPrivateKey()
Specified by:
getPrivateKey in interface SignerKeystore

getProvider

public java.security.Provider getProvider()
Specified by:
getProvider in interface SignerKeystore

Copyright 2000-2009 DigiStamp, Inc.