|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IDigestEnvironment
Factory methods for IDigest and IDigester.
| Method Summary | |
|---|---|
IDigest |
createDigest(String algorithmName,
byte[] bytes)
An IDigest object from an algorithm name and the raw bytes. |
IDigester |
createDigester(String algorithmName)
An IDigester for the given "algorithmName". |
IDigest |
decode(byte[] bytes)
Decode an DER encoded representation to an IDigest. |
byte[] |
encode(IDigest digest)
Encode an IDigest to a DER representation. |
| Method Detail |
|---|
IDigest createDigest(String algorithmName,
byte[] bytes)
IDigest object from an algorithm name and the raw bytes.
algorithmName - bytes -
IDigest object from an algorithm name and the raw
bytes.
IDigester createDigester(String algorithmName)
throws NoSuchAlgorithmException
IDigester for the given "algorithmName".
algorithmName -
IDigester for the given "algorithmName".
NoSuchAlgorithmException
IDigest decode(byte[] bytes)
throws IOException
IDigest.
bytes -
IDigest
IOException - If no decoder installed or "bytes" are not a correct encoded
DER representation.
byte[] encode(IDigest digest)
throws IOException
IDigest to a DER representation.
digest -
IOException - If no decoder installed.
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||