public interface CryptoProvider
| 限定符和类型 | 方法和说明 |
|---|---|
Mac |
getMacInstance(String algorithmName)
Return an instance of a Mac digest for the provided algorithm name.
|
Signature |
getSignatureInstance(String algorithmName)
Return an instance of a Signature digest for the provided algorithm name.
|
Mac getMacInstance(String algorithmName) throws NoSuchAlgorithmException
algorithmName - the name of the algorithm.NoSuchAlgorithmException - thrown when the requested algorithm cannot be satisfied by this crypto provider.Signature getSignatureInstance(String algorithmName) throws NoSuchAlgorithmException
algorithmName - the name of the algorithm.NoSuchAlgorithmException - thrown when the requested algorithm cannot be satisfied by this crypto provider.Copyright © 2023. All rights reserved.