|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.extensions.configuration.PacketCableTFTPCrypto
public class PacketCableTFTPCrypto
Singelton class that wraps the BouncyCastle JCE provider for some PacketCable operations.
| Method Summary | |
|---|---|
static PacketCableTFTPCrypto |
getInstance()
Singelton accessor. |
byte[] |
getSHA1(byte[] buf,
int offset,
int buflen)
Calculate the SHA1 digest of a binary buffer. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PacketCableTFTPCrypto getInstance()
public byte[] getSHA1(byte[] buf,
int offset,
int buflen)
throws NoSuchAlgorithmException,
NoSuchProviderException
buf - the binary upon which the digest will be calculated.offset - start calculation at this offset.buflen - calculate offset for this number of bytes.
NoSuchAlgorithmException
NoSuchProviderException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||