This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
This class specifies the set of parameters used with password-based encryption (PBE), as defined in the PKCS #5 standard.
(->pbe-parameter-spec salt iteration-count)
(->pbe-parameter-spec salt iteration-count param-spec)
Constructor.
Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard.
salt - the salt. The contents of salt are copied to protect against subsequent modification. - byte[]
iteration-count - the iteration count. - int
param-spec - the cipher algorithm parameter specification, which may be null. - java.security.spec.AlgorithmParameterSpec
throws: java.lang.NullPointerException - if salt is null.
Constructor. Constructs a parameter set for password-based encryption as defined in the PKCS #5 standard. salt - the salt. The contents of salt are copied to protect against subsequent modification. - `byte[]` iteration-count - the iteration count. - `int` param-spec - the cipher algorithm parameter specification, which may be null. - `java.security.spec.AlgorithmParameterSpec` throws: java.lang.NullPointerException - if salt is null.
(get-iteration-count this)
Returns the iteration count.
returns: the iteration count - int
Returns the iteration count. returns: the iteration count - `int`
(get-parameter-spec this)
Returns the cipher algorithm parameter specification.
returns: the parameter specification, or null if none was set. - java.security.spec.AlgorithmParameterSpec
Returns the cipher algorithm parameter specification. returns: the parameter specification, or null if none was set. - `java.security.spec.AlgorithmParameterSpec`
(get-salt this)
Returns the salt.
returns: the salt. Returns a new array
each time this method is called. - byte[]
Returns the salt. returns: the salt. Returns a new array each time this method is called. - `byte[]`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close