|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.security.KeyStore.SecretKeyEntry
public static final class KeyStore.SecretKeyEntry
A KeyStore
entry that holds a SecretKey
.
Constructor Summary | |
---|---|
KeyStore.SecretKeyEntry(SecretKey secretKey)
Constructs a SecretKeyEntry with a
SecretKey . |
Method Summary | |
---|---|
SecretKey |
getSecretKey()
Gets the SecretKey from this entry. |
String |
toString()
Returns a string representation of this SecretKeyEntry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public KeyStore.SecretKeyEntry(SecretKey secretKey)
SecretKeyEntry
with a
SecretKey
.
secretKey
- the SecretKey
NullPointerException
- if secretKey
is null
Method Detail |
---|
public SecretKey getSecretKey()
SecretKey
from this entry.
SecretKey
from this entrypublic String toString()
toString
in class Object
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.