public class PKCS12Reader extends CredentialReader
PKCS12Reader is a subclass of CredentialReader and
reads a Digital Identity that conforms to the syntax specified in PKCS#12.| Constructor and Description |
|---|
PKCS12Reader(java.io.InputStream p12)
Creates a
PKCS12Reader object to a Digital Identity stored in a
PKCS#12 file. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getType()
Returns the type, or name, of the
CredentialReader that calls
this method. |
checkPwdpublic PKCS12Reader(java.io.InputStream p12)
throws PKCSParsingException,
java.io.IOException
PKCS12Reader object to a Digital Identity stored in a
PKCS#12 file.p12 - the input stream from which to read the PKCS#12 filejava.io.IOException - if there is an IO error reading from the given input stream.PKCSParsingException - if there is an error parsing the data in the input stream as PKCS12.public java.lang.String getType()
CredentialReader that calls
this method.getType in class CredentialReaderCredentialReader