|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--idman.rules.DefaultCertificateListener
Wichtige Klasse zur Verwendung von Pseudonymen und Erkennung von Transaktionspartnern während des Verbindungsaufbaus.
Field Summary | |
static boolean |
debug
|
protected idman.rules.ChainEvaluationListener |
listener
Ausgabe von Warnungen. |
Fields inherited from interface org.ssonet.net.CertificateListener |
INVALID, NOT_TESTED, VALID |
Constructor Summary | |
DefaultCertificateListener()
Konstruktor. |
|
DefaultCertificateListener(idman.rules.ChainEvaluationListener listener)
Konstruktor. |
Method Summary | |
int |
checkCertificate(org.ssonet.net.SSONETContext context,
java.security.cert.X509Certificate certificate)
Überprüft das Zertifikat und akzeptiert es, wenn es entweder gültig selbst, oder gültig durch das TrustCenter unterschrieben ist. |
boolean |
equals(byte[] a,
byte[] b)
Vergleicht zwei Bytearrays auf Gleichheit. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected idman.rules.ChainEvaluationListener listener
public static boolean debug
Constructor Detail |
public DefaultCertificateListener(idman.rules.ChainEvaluationListener listener)
listener
- Ausgabemöglichkeit für Warnungen bei der Auswertung
von Regelketten.public DefaultCertificateListener()
Method Detail |
public int checkCertificate(org.ssonet.net.SSONETContext context, java.security.cert.X509Certificate certificate)
checkCertificate
in interface org.ssonet.net.CertificateListener
context
- Verbindungsdaten.certificate
- Zu testendes Zertifikat.
public boolean equals(byte[] a, byte[] b)
a
- Bytearray 1.b
- Bytearray 2.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |