mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-10 10:28:37 +00:00
4867890: Clarify the return value/exception for java.security.SignedObject.verify
Reviewed-by: weijun
This commit is contained in:
parent
1ebe2a40a9
commit
1d3192ee04
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, 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
|
||||
@ -211,7 +211,9 @@ public final class SignedObject implements Serializable {
|
||||
* @param verificationKey the public key for verification.
|
||||
* @param verificationEngine the signature verification engine.
|
||||
*
|
||||
* @exception SignatureException if signature verification failed.
|
||||
* @exception SignatureException if signature verification failed (an
|
||||
* exception prevented the signature verification engine from completing
|
||||
* normally).
|
||||
* @exception InvalidKeyException if the verification key is invalid.
|
||||
*
|
||||
* @return {@code true} if the signature
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user