java.lang.Object | ||
javax.crypto.Mac | Cloneable |
Mac(MacSpi macSpi, Provider provider, String algorithm) |
final | Object | clone() | ||||
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver. | ||||||
final | void | doFinal(byte[] output, int outOffset) | ||||
final | byte[] | doFinal() | ||||
final | byte[] | doFinal(byte[] input) | ||||
final | String | getAlgorithm() | ||||
final | static | Mac | getInstance(String algorithm, String provider) | |||
final | static | Mac | getInstance(String algorithm) | |||
final | static | Mac | getInstance(String algorithm, Provider provider) | |||
final | int | getMacLength() | ||||
final | Provider | getProvider() | ||||
final | void | init(Key key, AlgorithmParameterSpec params) | ||||
final | void | init(Key key) | ||||
final | void | reset() | ||||
final | void | update(byte[] input) | ||||
final | void | update(byte input) | ||||
final | void | update(byte[] input, int offset, int len) | ||||
final | void | update(ByteBuffer input) |
Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.
CloneNotSupportedException |
---|
IllegalStateException |
---|
IllegalStateException |
---|
NoSuchAlgorithmException |
---|
NoSuchAlgorithmException |
---|
InvalidKeyException |
---|
IllegalStateException |
---|
IllegalStateException |
---|
IllegalStateException |
---|
Copyright 2007 Google Inc. | Build 0.9_r1-98467 - 14 Aug 2008 18:48 |