edu.vt.middleware.crypt.io
Class X509CRLCredentialReader

java.lang.Object
  extended by edu.vt.middleware.crypt.io.AbstractX509CredentialReader<X509CRL>
      extended by 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

Constructor Summary
X509CRLCredentialReader()
           
 
Method Summary
 X509CRL read(InputStream in)
          Reads a credential, commonly in encoded format, from the given input stream.
 
Methods inherited from class edu.vt.middleware.crypt.io.AbstractX509CredentialReader
getX509CertificateFactory, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509CRLCredentialReader

public X509CRLCredentialReader()
Method Detail

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.