|
80 | 80 | import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; |
81 | 81 | import org.bouncycastle.asn1.pkcs.Pfx; |
82 | 82 | import org.bouncycastle.asn1.pkcs.SafeBag; |
83 | | -import org.bouncycastle.asn1.util.ASN1Dump; |
84 | 83 | import org.bouncycastle.asn1.x509.AlgorithmIdentifier; |
85 | 84 | import org.bouncycastle.asn1.x509.AuthorityKeyIdentifier; |
86 | 85 | import org.bouncycastle.asn1.x509.DigestInfo; |
@@ -995,9 +994,7 @@ else if (b.getBagId().equals(keyBag)) |
995 | 994 | } |
996 | 995 | else |
997 | 996 | { |
998 | | - // -DM 2 System.out.println |
999 | | - System.out.println("extra in data " + b.getBagId()); |
1000 | | - System.out.println(ASN1Dump.dumpAsString(b)); |
| 997 | + // NOTE: base reports the unrecognised bag through java.util.logging; this overlay also serves the jdk1.3 build, which has no such API |
1001 | 998 | } |
1002 | 999 | } |
1003 | 1000 | } |
@@ -1026,17 +1023,13 @@ else if (b.getBagId().equals(keyBag)) |
1026 | 1023 | } |
1027 | 1024 | else |
1028 | 1025 | { |
1029 | | - // -DM 2 System.out.println |
1030 | | - System.out.println("extra in encryptedData " + b.getBagId()); |
1031 | | - System.out.println(ASN1Dump.dumpAsString(b)); |
| 1026 | + // NOTE: base reports the unrecognised bag through java.util.logging; this overlay also serves the jdk1.3 build, which has no such API |
1032 | 1027 | } |
1033 | 1028 | } |
1034 | 1029 | } |
1035 | 1030 | else |
1036 | 1031 | { |
1037 | | - // -DM 2 System.out.println |
1038 | | - System.out.println("extra " + c[i].getContentType().getId()); |
1039 | | - System.out.println("extra " + ASN1Dump.dumpAsString(PKCS12Util.getContent(c[i]))); |
| 1032 | + // NOTE: base reports the unrecognised bag through java.util.logging; this overlay also serves the jdk1.3 build, which has no such API |
1040 | 1033 | } |
1041 | 1034 | } |
1042 | 1035 | } |
|
0 commit comments