Skip to content

Commit

Permalink
TKSS-340: Backport JDK-8314059: Remove PKCS7.verify()
Browse files Browse the repository at this point in the history
  • Loading branch information
johnshajiang committed Aug 15, 2023
1 parent 8a560b5 commit bf65c71
Showing 1 changed file with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2023, 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
Expand Down Expand Up @@ -593,17 +593,6 @@ public SignerInfo[] verify(byte[] bytes)
return null;
}

/**
* Returns all signerInfos which self-verify.
*
* @exception NoSuchAlgorithmException on unrecognized algorithms.
* @exception SignatureException on signature handling errors.
*/
public SignerInfo[] verify()
throws NoSuchAlgorithmException, SignatureException {
return verify(null);
}

/**
* Returns the version number of this PKCS7 block.
* @return the version or null if version is not specified
Expand Down

0 comments on commit bf65c71

Please sign in to comment.