Package 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
Nested Classes Modifier and Type Interface Description static class
StoreUpdateListener.Severity
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CA_CERT
static java.lang.String
CRL
static java.lang.String
EACL_NAMESPACE
static java.lang.String
EUGRIDPMA_NAMESPACE
static java.lang.String
OCSP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
loadingNotification(java.lang.String location, java.lang.String type, StoreUpdateListener.Severity level, java.lang.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 java.lang.String CA_CERT
- See Also:
- Constant Field Values
-
CRL
static final java.lang.String CRL
- See Also:
- Constant Field Values
-
EACL_NAMESPACE
static final java.lang.String EACL_NAMESPACE
- See Also:
- Constant Field Values
-
EUGRIDPMA_NAMESPACE
static final java.lang.String EUGRIDPMA_NAMESPACE
- See Also:
- Constant Field Values
-
OCSP
static final java.lang.String OCSP
- See Also:
- Constant Field Values
-
-
Method Detail
-
loadingNotification
void loadingNotification(java.lang.String location, java.lang.String type, StoreUpdateListener.Severity level, java.lang.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 notificationcause
- an exception thrown by a loading code, typically IOException. Can be null. If not null, message of the exception should contain problem description.
-
-