public class DSAs extends Signatures
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DSA_INSTANCE_ALGORITHM |
| 构造器和说明 |
|---|
DSAs() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
sign(byte[] privateKey,
byte[] data) |
static byte[] |
sign(String signatureInstanceAlgorithm,
byte[] privateKey,
byte[] data) |
static byte[] |
sign(String signatureInstanceAlgorithm,
Provider provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
sign(String signatureInstanceAlgorithm,
String provider,
byte[] privateKey,
SecureRandom secureRandom,
byte[] data) |
static byte[] |
sign(String signatureInstanceAlgorithm,
String provider,
PrivateKey privateKey,
SecureRandom secureRandom,
byte[] data) |
static boolean |
verify(byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
verify(String signatureInstanceAlgorithm,
byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
verify(String signatureInstanceAlgorithm,
Provider provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
verify(String signatureInstanceAlgorithm,
PublicKey publicKey,
byte[] data,
byte[] signature) |
static boolean |
verify(String signatureInstanceAlgorithm,
String provider,
byte[] publicKey,
byte[] data,
byte[] signature) |
static boolean |
verify(String signatureInstanceAlgorithm,
String provider,
PublicKey publicKey,
byte[] data,
byte[] signature) |
createSignature, createSignature, createSignature, createSignature, createSignature, createSignature, createSignature, sign, sign, sign, sign, sign, verify, verify, verify, verify, verifyaddProvider, getLangxSecurityProvider, getProvider, getSecureRandom, insertProvider, insertProviderAt, langxProviderInstalled, loadLangxProvider, setuppublic static byte[] sign(byte[] privateKey,
@NonNull
byte[] data)
public static byte[] sign(@Nullable String signatureInstanceAlgorithm, byte[] privateKey, @NonNull byte[] data)
public static byte[] sign(@Nullable String signatureInstanceAlgorithm, @Nullable String provider, byte[] privateKey, @Nullable SecureRandom secureRandom, @NonNull byte[] data)
public static byte[] sign(@Nullable String signatureInstanceAlgorithm, @Nullable String provider, @NonNull PrivateKey privateKey, @Nullable SecureRandom secureRandom, @NonNull byte[] data)
public static byte[] sign(@Nullable String signatureInstanceAlgorithm, @Nullable Provider provider, @NonNull PrivateKey privateKey, @Nullable SecureRandom secureRandom, @NonNull byte[] data)
public static boolean verify(@NonNull byte[] publicKey, byte[] data, byte[] signature)
public static boolean verify(@Nullable String signatureInstanceAlgorithm, @NonNull byte[] publicKey, byte[] data, byte[] signature)
public static boolean verify(@Nullable String signatureInstanceAlgorithm, @Nullable String provider, @NonNull byte[] publicKey, byte[] data, byte[] signature)
public static boolean verify(@Nullable String signatureInstanceAlgorithm, @NonNull PublicKey publicKey, byte[] data, byte[] signature)
public static boolean verify(@Nullable String signatureInstanceAlgorithm, @NonNull String provider, @NonNull PublicKey publicKey, byte[] data, byte[] signature)
Copyright © 2021. All rights reserved.