org.openpermis.cert
Interface CertificateVerifier

All Known Implementing Classes:
BasicCertificateVerifier, ChainCertificateVerifier

public interface CertificateVerifier

Verifies certificates (instances of Certificate, e.g. attribute certificates or user certificates). How a certificate is verified depends on the implementation.

Since:
0.3.0

Method Summary
 void verifyCertificate(Certificate certificate)
          Verifies the specified certificate and returns without exception if the certificate could successfully be verified.
 

Method Detail

verifyCertificate

void verifyCertificate(Certificate certificate)
                       throws CertificateException,
                              NoSuchAlgorithmException,
                              InvalidKeyException,
                              NoSuchProviderException,
                              SignatureException
Verifies the specified certificate and returns without exception if the certificate could successfully be verified.

Parameters:
certificate - The certificate to be verified. Must not be null.
Throws:
CertificateException - Thrown on certificate encoding errors.
NoSuchAlgorithmException - Thrown on unsupported signature algorithms.
InvalidKeyException - Thrown on incorrect keys.
NoSuchProviderException - Thrown on incorrect crypto provider usage.
SignatureException - Thrown on incorrect signatures.
Since:
0.3.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG