Class JCEMac
java.lang.Object
org.miaixz.bus.core.lang.wrapper.SimpleWrapper<Mac>
org.miaixz.bus.crypto.builtin.digest.mac.JCEMac
-
Field Summary
Fields inherited from class org.miaixz.bus.core.lang.wrapper.SimpleWrapper
raw -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.miaixz.bus.core.lang.wrapper.SimpleWrapper
getRawMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.miaixz.bus.core.lang.Wrapper
type
-
Constructor Details
-
JCEMac
-
JCEMac
-
JCEMac
构造- Parameters:
algorithm- 算法key- 密钥spec-AlgorithmParameterSpec
-
-
Method Details
-
update
-
update
-
doFinal
-
reset
-
getMacLength
public int getMacLength()Description copied from interface:Mac获取MAC算法块大小- Specified by:
getMacLengthin interfaceMac- Returns:
- MAC算法块大小
-
getAlgorithm
Description copied from interface:Mac获取当前算法- Specified by:
getAlgorithmin interfaceMac- Returns:
- 算法
-