case class
CSPHashConfig(algorithm: String, hash: String, pattern: String) extends Product with Serializable
Instance Constructors
-
new
CSPHashConfig(algorithm: String, hash: String, pattern: String)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
val
algorithm: String
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
val
hash: String
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
pattern: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withAlgorithm(algorithm: String): CSPHashConfig
-
def
withHash(hash: String): CSPHashConfig
-
def
withPattern(pattern: String): CSPHashConfig
CSP Hash Configuration.
the algorithm from https://www.w3.org/TR/CSP3/#grammardef-hash-algorithm
set to the hash value in configuration
the pattern in directives to substitute with hash.