org.mpisws.p2p.transport.peerreview.identity
Interface CertificateManager<Handle,Identifier>
- Type Parameters:
Identifier
-
- All Known Subinterfaces:
- IdentityTransport<Handle,Identifier>, PeerReview<Handle,Identifier>
- All Known Implementing Classes:
- IdentityTransportLayerImpl, PeerReviewImpl
public interface CertificateManager<Handle,Identifier>
Stores some Certificates, sign/verify, can fetch Certificates
- Author:
- Jeff Hoye
sign
byte[] sign(byte[] bytes)
verify
int verify(Identifier id,
byte[] msg,
byte[] signature)
hasCertificate
boolean hasCertificate(Identifier id)
requestCertificate
Cancellable requestCertificate(Handle source,
Identifier certHolder,
Continuation<java.security.cert.X509Certificate,java.lang.Exception> c,
java.util.Map<java.lang.String,java.lang.Object> options)
getSignatureSizeBytes
short getSignatureSizeBytes()
Copyright © 2001-2005 - Rice Pastry.