equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2013, 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 |
164 public boolean isDestroyed() { |
164 public boolean isDestroyed() { |
165 return destroyed; |
165 return destroyed; |
166 } |
166 } |
167 |
167 |
168 /** |
168 /** |
169 * @serialData this <code>KeyImpl</code> is serialized by |
169 * @serialData this {@code KeyImpl} is serialized by |
170 * writing out the ASN1 Encoded bytes of the encryption key. |
170 * writing out the ASN1 Encoded bytes of the encryption key. |
171 * The ASN1 encoding is defined in RFC4120 and as follows: |
171 * The ASN1 encoding is defined in RFC4120 and as follows: |
172 * EncryptionKey ::= SEQUENCE { |
172 * EncryptionKey ::= SEQUENCE { |
173 * keytype [0] Int32 -- actually encryption type --, |
173 * keytype [0] Int32 -- actually encryption type --, |
174 * keyvalue [1] OCTET STRING |
174 * keyvalue [1] OCTET STRING |