p2ps.peer
Interface SecurityContext
- All Known Implementing Classes:
- SecurityContextImp
- public interface SecurityContext
The certificate thumbprint information that defines the security context for
a peer/group. This information can be generated from the thumbprint
information encoded in the path element of a p2ps uri.
- Version:
- $Revision: 295 $
- Author:
- Ian Wang
getPeerCertificateThumbprint
public java.lang.String getPeerCertificateThumbprint()
- Returns:
- the certificate thumbprint for the peer (or null if group/unknown)
getGroupCertificateThumbprintHierarchy
public java.lang.String[] getGroupCertificateThumbprintHierarchy()
- Returns:
- the certificate thumbprint chain for the group (current group
certificate thumbprint at index 0)
getCertificateThumbprintPath
public java.lang.String getCertificateThumbprintPath()
- Returns:
- the certificate thumbprint path (groupthumb[n].groupthumb[n-1]...
groupthumb[0].peerthumb), or null if invalid path
getClientSecurityLevel
public java.lang.String getClientSecurityLevel()
- Returns:
- the security level when acting as a client, or null if unknown.
getServerSecurityLevel
public java.lang.String getServerSecurityLevel()
- Returns:
- the security level when acting as a server, or null if unknown.