Skip to content

Commit 595fdd3

Browse files
blperez01seanjmullan
authored andcommitted
8314059: Remove PKCS7.verify()
Reviewed-by: mullan
1 parent 49b2984 commit 595fdd3

File tree

1 file changed

+1
-12
lines changed
  • src/java.base/share/classes/sun/security/pkcs

1 file changed

+1
-12
lines changed

src/java.base/share/classes/sun/security/pkcs/PKCS7.java

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -557,17 +557,6 @@ public SignerInfo[] verify(byte[] bytes)
557557
return null;
558558
}
559559

560-
/**
561-
* Returns all signerInfos which self-verify.
562-
*
563-
* @exception NoSuchAlgorithmException on unrecognized algorithms.
564-
* @exception SignatureException on signature handling errors.
565-
*/
566-
public SignerInfo[] verify()
567-
throws NoSuchAlgorithmException, SignatureException {
568-
return verify(null);
569-
}
570-
571560
/**
572561
* Returns the version number of this PKCS7 block.
573562
* @return the version or null if version is not specified

0 commit comments

Comments
 (0)