org.mpisws.p2p.transport.signature
Interface CertificateTransportLayer<Identifier,MessageType>
- Type Parameters:
Identifier
- MessageType
-
- All Superinterfaces:
- Destructable, TransportLayer<Identifier,MessageType>
- All Known Implementing Classes:
- CertificateTransprotLayerImpl
public interface CertificateTransportLayer<Identifier,MessageType>
- extends TransportLayer<Identifier,MessageType>
Can fetch a Certificate. Caches known certificates.
- Author:
- Jeff Hoye
requestCertificate
Cancellable requestCertificate(Identifier source,
Identifier principal,
Continuation<java.security.cert.X509Certificate,java.lang.Exception> c,
java.util.Map<java.lang.String,java.lang.Object> options)
- Get a certificate of the principal from the source.
- Parameters:
source
- principal
- c
- options
-
- Returns:
- UnknownCertificateException if the source doesn't know the certificate for the principal
Copyright © 2001-2005 - Rice Pastry.