Package org.jclouds.crypto
Class Macs
- java.lang.Object
-
- org.jclouds.crypto.Macs
-
-
Constructor Summary
Constructors Constructor Description Macs()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.io.ByteProcessor<byte[]>
asByteProcessor(Mac mac)
Computes and returns the MAC value for a supplied input stream.
-
-
-
Method Detail
-
asByteProcessor
public static com.google.common.io.ByteProcessor<byte[]> asByteProcessor(Mac mac)
Computes and returns the MAC value for a supplied input stream.- Parameters:
mac
- the mac object- Returns:
- the result of
Mac.doFinal()
onByteProcessor.getResult()
-
-