eu.emi.security.authn.x509
Interface StoreUpdateListener


public interface StoreUpdateListener

Implementations receive information about updates of certificate, CRL stores or OCSP errors. Most often this listener is used to be notified about update errors and warnings (often not synchronous with a certificate validation).

Author:
K. Benedyczak

Nested Class Summary
static class StoreUpdateListener.Severity
           
 
Field Summary
static String CA_CERT
           
static String CRL
           
static String EACL_NAMESPACE
           
static String EUGRIDPMA_NAMESPACE
           
static String OCSP
           
 
Method Summary
 void loadingNotification(String location, String type, StoreUpdateListener.Severity level, Exception cause)
          Informs about an update related to loading of trust related material, like loading or downloading a CA certificate, CRL or others.
 

Field Detail

CA_CERT

static final String CA_CERT
See Also:
Constant Field Values

CRL

static final String CRL
See Also:
Constant Field Values

EACL_NAMESPACE

static final String EACL_NAMESPACE
See Also:
Constant Field Values

EUGRIDPMA_NAMESPACE

static final String EUGRIDPMA_NAMESPACE
See Also:
Constant Field Values

OCSP

static final String OCSP
See Also:
Constant Field Values
Method Detail

loadingNotification

void loadingNotification(String location,
                         String type,
                         StoreUpdateListener.Severity level,
                         Exception cause)
Informs about an update related to loading of trust related material, like loading or downloading a CA certificate, CRL or others.

Parameters:
location - not null location of the updated resource (URL or file path)
type - not-null type of resource (CA certificate, CRL files etc)
level - severity of the notification
cause - an exception thrown by a loading code, typically IOException. Can be null. If not null, message of the exception should contain problem description.


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.