mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8253866: Security Libs Terminology Refresh
Reviewed-by: erikj, weijun, mullan
This commit is contained in:
parent
c2a3c7ef7d
commit
8554fe6ebc
15 changed files with 71 additions and 69 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -551,7 +551,7 @@ public final class JceKeyStore extends KeyStoreSpi {
|
|||
* }
|
||||
*
|
||||
* ended by a keyed SHA1 hash (bytes only) of
|
||||
* { password + whitener + preceding body }
|
||||
* { password + extra data + preceding body }
|
||||
*/
|
||||
|
||||
// password is mandatory when storing
|
||||
|
@ -897,7 +897,7 @@ public final class JceKeyStore extends KeyStoreSpi {
|
|||
|
||||
/**
|
||||
* To guard against tampering with the keystore, we append a keyed
|
||||
* hash with a bit of whitener.
|
||||
* hash with a bit of extra data.
|
||||
*/
|
||||
private MessageDigest getPreKeyedHash(char[] password)
|
||||
throws NoSuchAlgorithmException
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue