src/java.base/share/classes/javax/crypto/CipherInputStream.java
changeset 51759 ac6e9a2ebc04
parent 47216 71c04702a3d5
child 52160 2de3d2f1df39
equal deleted inserted replaced
51758:6c956c883137 51759:ac6e9a2ebc04
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    50  * that are not thrown by its ancestor classes.  In particular, the
    50  * that are not thrown by its ancestor classes.  In particular, the
    51  * <code>skip</code> method skips, and the <code>available</code>
    51  * <code>skip</code> method skips, and the <code>available</code>
    52  * method counts only data that have been processed by the encapsulated Cipher.
    52  * method counts only data that have been processed by the encapsulated Cipher.
    53  *
    53  *
    54  * <p> It is crucial for a programmer using this class not to use
    54  * <p> It is crucial for a programmer using this class not to use
    55  * methods that are not defined or overriden in this class (such as a
    55  * methods that are not defined or overridden in this class (such as a
    56  * new method or constructor that is later added to one of the super
    56  * new method or constructor that is later added to one of the super
    57  * classes), because the design and implementation of those methods
    57  * classes), because the design and implementation of those methods
    58  * are unlikely to have considered security impact with regard to
    58  * are unlikely to have considered security impact with regard to
    59  * CipherInputStream.
    59  * CipherInputStream.
    60  *
    60  *