A KeyStore entry that holds a SecretKey.
A KeyStore entry that holds a SecretKey.
(->secret-key-entry secret-key)
(->secret-key-entry secret-key attributes)
Constructor.
Constructs a SecretKeyEntry with a SecretKey and associated entry attributes.
The specified attributes is cloned before it is stored in the new SecretKeyEntry object.
secret-key - the SecretKey - javax.crypto.SecretKey
attributes - the attributes - java.util.Set
throws: java.lang.NullPointerException - if secretKey or attributes is null
Constructor. Constructs a SecretKeyEntry with a SecretKey and associated entry attributes. The specified attributes is cloned before it is stored in the new SecretKeyEntry object. secret-key - the SecretKey - `javax.crypto.SecretKey` attributes - the attributes - `java.util.Set` throws: java.lang.NullPointerException - if secretKey or attributes is null
(get-attributes this)
Retrieves the attributes associated with an entry.
returns: an unmodifiable Set of attributes, possibly empty - java.util.Set<java.security.KeyStore$Entry$Attribute>
Retrieves the attributes associated with an entry. returns: an unmodifiable Set of attributes, possibly empty - `java.util.Set<java.security.KeyStore$Entry$Attribute>`
(get-secret-key this)
Gets the SecretKey from this entry.
returns: the SecretKey from this entry - javax.crypto.SecretKey
Gets the SecretKey from this entry. returns: the SecretKey from this entry - `javax.crypto.SecretKey`
(to-string this)
Returns a string representation of this SecretKeyEntry.
returns: a string representation of this SecretKeyEntry. - java.lang.String
Returns a string representation of this SecretKeyEntry. returns: a string representation of this SecretKeyEntry. - `java.lang.String`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close