public class DefaultCryptoProvider extends Object implements CryptoProvider
| 构造器和说明 |
|---|
DefaultCryptoProvider() |
| 限定符和类型 | 方法和说明 |
|---|---|
Mac |
getMacInstance(String name)
Return an instance of a Mac digest for the provided algorithm name.
|
Signature |
getSignatureInstance(String name)
Return an instance of a Signature digest for the provided algorithm name.
|
public Mac getMacInstance(String name) throws NoSuchAlgorithmException
CryptoProvidergetMacInstance 在接口中 CryptoProvidername - the name of the algorithm.NoSuchAlgorithmException - thrown when the requested algorithm cannot be satisfied by this crypto provider.public Signature getSignatureInstance(String name) throws NoSuchAlgorithmException
CryptoProvidergetSignatureInstance 在接口中 CryptoProvidername - the name of the algorithm.NoSuchAlgorithmException - thrown when the requested algorithm cannot be satisfied by this crypto provider.Copyright © 2023. All rights reserved.