|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
java.io.FilterInputStream
weblogic.security.SSL.jsseadapter.PEMInputStream
public class PEMInputStream
This class is here as implementation for the legacy public class weblogic.security.PEMInputStream, which is now deprecated. The original class simply served up the base64-decoded bytes of the PEM data it was given, dropping the PEM headers, if any, in the process. While the Certicom SSL stack could handle this (albeit in a rather fragile way, by trying various decode strategies in turn until one worked), our JSSE implementation can't. It looks for PEM headers, assumes specific DER encoding if no headers are found, and fails is neither of those work. While it might be possible to duplicate the Certicom logic in our JSSE code, and such a strategy would provide backward-compatible behavior, it would also introduce significant logic changes that could break other use cases, and support for arbitrary PEM data in the absence of accompanying headers is not a strategically important use case. So, we'll make PEMInputStream preserve the header information instead. Note: SSLClientInfo uses InputStreamsCloner to manage IS's for input keys and certs, so InputStreamCloner must be modified to preserve PEMInputStream's type and the additional data it carries, handing back an actual PEMInputStream instance when cloning it. Lastly, we will replace the base64 decoding logic here with utility code from the JSSE adapter.
Field Summary |
---|
Fields inherited from class java.io.FilterInputStream |
---|
in |
Method Summary |
---|
Methods inherited from class java.io.FilterInputStream |
---|
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
|
Copyright 1996, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |