|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.ethz.iks.slp.impl.AuthenticatedURL
public abstract class AuthenticatedURL
an authenticated URL block within an SLPMessage.
| Field Summary | |
|---|---|
protected ch.ethz.iks.slp.impl.AuthenticationBlock[] |
authBlocks
the auth blocks. |
| Constructor Summary | |
|---|---|
AuthenticatedURL()
create a new authenticated URL. |
|
| Method Summary | |
|---|---|
protected int |
getAuthBlockLength()
|
protected static ch.ethz.iks.slp.impl.AuthenticationBlock[] |
parseAuthBlock(DataInputStream input)
parse the auth blocks. |
protected void |
sign(List spiList)
sign the ServiceURL. |
protected boolean |
verify()
verifies the authentication blocks of the ServiceURL. |
protected void |
writeAuthBlock(DataOutputStream out)
get the authentication block bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ch.ethz.iks.slp.impl.AuthenticationBlock[] authBlocks
| Constructor Detail |
|---|
public AuthenticatedURL()
| Method Detail |
|---|
protected final void sign(List spiList)
throws ServiceLocationException
spiList - the List of SPIs
ServiceLocationException - in case of IO errors.
protected final boolean verify()
throws ServiceLocationException
ServiceLocationException - in case of IO errors.
protected void writeAuthBlock(DataOutputStream out)
throws IOException
IOException - in case of IO errors.protected final int getAuthBlockLength()
protected static final ch.ethz.iks.slp.impl.AuthenticationBlock[] parseAuthBlock(DataInputStream input)
throws ServiceLocationException,
IOException
input - the data input.
ServiceLocationException - if something goes wrong.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||