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