equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2011, 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 |
155 * |
155 * |
156 * @return the IV or null if this parameter set does not contain an IV. |
156 * @return the IV or null if this parameter set does not contain an IV. |
157 * Returns a new array each time this method is called. |
157 * Returns a new array each time this method is called. |
158 */ |
158 */ |
159 public byte[] getIV() { |
159 public byte[] getIV() { |
160 return (iv == null? null:(byte[])iv.clone()); |
160 return (iv == null? null:iv.clone()); |
161 } |
161 } |
162 |
162 |
163 /** |
163 /** |
164 * Tests for equality between the specified object and this |
164 * Tests for equality between the specified object and this |
165 * object. Two RC5ParameterSpec objects are considered equal if their |
165 * object. Two RC5ParameterSpec objects are considered equal if their |