Save This Page
Home » openjdk-7 » java » security » [javadoc | source]
java.security
public static final class: KeyStore.SecretKeyEntry [javadoc | source]
java.lang.Object
   java.security.KeyStore$SecretKeyEntry

All Implemented Interfaces:
    Entry

A KeyStore entry that holds a SecretKey.
Constructor:
 public SecretKeyEntry(SecretKey secretKey) 
    Constructs a SecretKeyEntry with a SecretKey.
    Parameters:
    secretKey - the SecretKey
    Throws:
    NullPointerException - if secretKey is null
    exception: NullPointerException - if secretKey is null
Method from java.security.KeyStore$SecretKeyEntry Summary:
getSecretKey,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.KeyStore$SecretKeyEntry Detail:
 public SecretKey getSecretKey() 
    Gets the SecretKey from this entry.
 public String toString() 
    Returns a string representation of this SecretKeyEntry.