public class MacValidator extends java.lang.Object implements SignatureValidator
构造器和说明 |
---|
MacValidator(SignatureAlgorithm alg,
java.security.Key key) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
isValid(byte[] data,
byte[] signature) |
public MacValidator(SignatureAlgorithm alg, java.security.Key key)
public boolean isValid(byte[] data, byte[] signature)
isValid
在接口中 SignatureValidator