mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 03:43:21 +00:00
8356051: Update SignatureUtil.java with the new KnownOIDs
Reviewed-by: rhalade
This commit is contained in:
parent
494ef6cb8c
commit
c514f135cc
@ -198,7 +198,7 @@ public class SignatureUtil {
|
||||
static {
|
||||
try {
|
||||
sha512 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHA_512));
|
||||
shake256 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHAKE256));
|
||||
shake256 = new AlgorithmId(ObjectIdentifier.of(KnownOIDs.SHAKE256_512));
|
||||
shake256$512 = new AlgorithmId(
|
||||
ObjectIdentifier.of(KnownOIDs.SHAKE256_LEN),
|
||||
new DerValue((byte) 2, new byte[]{2, 0})); // int 512
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user