|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectp2ps.imp.group.certificates.GroupPeerCertificateAuthority
The GroupPeerCertificateAuthority is an intermediate certificate authority, authorized by the GroupCertificateAuthority to sign group membership applications. When a new connection to the membership pipe is received the following occurs:
1 - The connecting peer sends a certificate signing request to the GroupPeerCertificateAuthority for signing. 2 - If the GroupPeerCertificateAuthority accepts the membership application a signed certificate chain in the PKCS#7 format is returned, otherwise a rejection message is returned.
| Constructor Summary | |
GroupPeerCertificateAuthority()
Constructs a temporary group peer ca that is deleted when the peer is terminated. |
|
GroupPeerCertificateAuthority(java.io.File[] certchain,
int groupcert,
java.io.File conffile,
char[] password)
Constructs a group peer ca based on the specified ca certificate chain and configuration file. |
|
GroupPeerCertificateAuthority(Identity identity,
java.io.File parent,
char[] password)
Constructs a group peer ca with the specified identity. |
|
| Method Summary | |
void |
addMembershipPipe(InputPipe inpipe)
Adds a membership pipe to the GroupPeerCertificateAuthority |
void |
authorizeGroupPeer(GroupCertificateAuthority groupauth)
Authorizes the GroupPeerCertificateAuthority to act as a intermediate certificate authority for the specified group |
GroupAdvertisement |
createGroupAdvertisement(Peer peer)
Convenience method that generates a template group advertisement for the group handled by this GroupPeerCertificateAuthority. |
java.lang.String |
getAuthorizationType()
|
java.lang.String |
getGroupID()
|
java.io.File[] |
getGroupPeerCertificateChain()
|
java.net.URI[] |
getMembershipPipeURI()
|
void |
messageReceived(MessageReceivedEvent event)
Called when a message is received by the pipe |
void |
removeMembershipPipe(InputPipe inpipe)
Adds a membership pipe to the GroupPeerCertificateAuthority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupPeerCertificateAuthority(java.io.File[] certchain,
int groupcert,
java.io.File conffile,
char[] password)
throws java.io.FileNotFoundException,
java.io.IOException
certchain - the specified ca certificate chain (must include group
peer ca certificate at index 0)groupcert - the index of the group certificate in the certificate chainconffile - the openssl configuration filepassword - the group certificate password
public GroupPeerCertificateAuthority(Identity identity,
java.io.File parent,
char[] password)
throws java.io.IOException
public GroupPeerCertificateAuthority()
throws java.io.IOException
| Method Detail |
public void authorizeGroupPeer(GroupCertificateAuthority groupauth)
throws java.io.IOException
java.io.IOExceptionpublic java.io.File[] getGroupPeerCertificateChain()
public java.lang.String getGroupID()
public java.lang.String getAuthorizationType()
public void addMembershipPipe(InputPipe inpipe)
public void removeMembershipPipe(InputPipe inpipe)
public java.net.URI[] getMembershipPipeURI()
public GroupAdvertisement createGroupAdvertisement(Peer peer)
throws java.io.IOException
java.io.IOExceptionpublic void messageReceived(MessageReceivedEvent event)
messageReceived in interface MessageListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||