public abstract class AuthenticatedURL extends Object
Modifier and Type | Field and Description |
---|---|
protected ch.ethz.iks.slp.impl.AuthenticationBlock[] |
authBlocks
the auth blocks.
|
Constructor and Description |
---|
AuthenticatedURL()
create a new authenticated URL.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected ch.ethz.iks.slp.impl.AuthenticationBlock[] authBlocks
protected final void sign(List spiList) throws ServiceLocationException
spiList
- the List of SPIsServiceLocationException
- 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
Copyright © 2018 universAAL Consortium. All rights reserved.