mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8044445: JEP 229: Create PKCS12 Keystores by Default
Reviewed-by: mullan, weijun
This commit is contained in:
parent
9589fd31c1
commit
befd7d1c25
21 changed files with 1360 additions and 280 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 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
|
||||
|
@ -590,4 +590,27 @@ public abstract class KeyStoreSpi {
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Probes the specified input stream to determine whether it contains a
|
||||
* keystore that is supported by this implementation, or not.
|
||||
*
|
||||
* <p>
|
||||
* @implSpec
|
||||
* This method returns false by default. Keystore implementations should
|
||||
* override this method to peek at the data stream directly or to use other
|
||||
* content detection mechanisms.
|
||||
*
|
||||
* @param stream the keystore data to be probed
|
||||
*
|
||||
* @return true if the keystore data is supported, otherwise false
|
||||
*
|
||||
* @throws IOException if there is an I/O problem with the keystore data.
|
||||
* @throws NullPointerException if stream is {@code null}.
|
||||
*
|
||||
* @since 1.9
|
||||
*/
|
||||
public boolean engineProbe(InputStream stream) throws IOException {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue