public abstract class EncodedKeySpec extends java.lang.Object implements KeySpec
|Constructor and Description|
Creates a new EncodedKeySpec with the given encoded key.
|Modifier and Type||Method and Description|
Returns the encoded key.
Returns the name of the encoding format associated with this key specification.
public EncodedKeySpec(byte encodedKey)
encodedKey- the encoded key.
public byte getEncoded()
public abstract java.lang.String getFormat()
If the opaque representation of a key
Key) can be generated
from this key specification (or a subclass of it),
on the opaque key returns the same value as the
of this key specification.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.