edu.vt.middleware.crypt.io
Class X509CRLCredentialReader
java.lang.Object
edu.vt.middleware.crypt.io.AbstractX509CredentialReader<X509CRL>
edu.vt.middleware.crypt.io.X509CRLCredentialReader
- All Implemented Interfaces:
- CredentialReader<X509CRL>
public class X509CRLCredentialReader
- extends AbstractX509CredentialReader<X509CRL>
Credential reader for handling X.509 CRLs. Both PEM and DER encoding of CRL
data is supported.
- Version:
- $Revision: 2744 $ $Date: 2013-06-25 16:20:29 -0400 (Tue, 25 Jun 2013) $
- Author:
- Middleware Services
|
Method Summary |
X509CRL |
read(InputStream in)
Reads a credential, commonly in encoded format, from the given input
stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X509CRLCredentialReader
public X509CRLCredentialReader()
read
public X509CRL read(InputStream in)
throws IOException,
CryptException
- Reads a credential, commonly in encoded format, from the given input
stream.
- Parameters:
in - Input stream from which to read credential.
- Returns:
- Credential read from input stream.
- Throws:
IOException - On IO exceptions.
CryptException - On cryptography errors such as invalid formats,
unsupported ciphers, illegal settings.
Copyright © 2003-2013 Virginia Tech. All Rights Reserved.