Package org.nuxeo.ecm.core.blob
Class DigestConfiguration
- java.lang.Object
-
- org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
-
- org.nuxeo.ecm.core.blob.DigestConfiguration
-
public class DigestConfiguration extends PropertyBasedConfiguration
Configuration for the digest.- Since:
- 11.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_DIGEST_ALGORITHM
static String
DIGEST_ALGORITHM_PROPERTY
static String
DIGEST_ASYNC_PROPERTY
String
digestAlgorithm
boolean
digestAsync
Pattern
digestPattern
Deprecated.since 11.5, useKeyStrategyDigest
instead-
Fields inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
properties, systemPropertyPrefix
-
-
Constructor Summary
Constructors Constructor Description DigestConfiguration(String digestAlgorithm)
DigestConfiguration(String systemPropertyPrefix, Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
getDigestAlgorithm()
protected Pattern
getDigestPattern()
Deprecated.since 11.5, useKeyStrategyDigest
insteadboolean
isValidDigest(String digest)
Deprecated.since 11.5, useKeyStrategyDigest
instead-
Methods inherited from class org.nuxeo.ecm.core.blob.PropertyBasedConfiguration
getBooleanProperty, getIntProperty, getIntProperty, getLongProperty, getProperty, getProperty
-
-
-
-
Field Detail
-
DIGEST_ALGORITHM_PROPERTY
public static final String DIGEST_ALGORITHM_PROPERTY
- See Also:
- Constant Field Values
-
DIGEST_ASYNC_PROPERTY
public static final String DIGEST_ASYNC_PROPERTY
- Since:
- 11.5
- See Also:
- Constant Field Values
-
DEFAULT_DIGEST_ALGORITHM
public static final String DEFAULT_DIGEST_ALGORITHM
- See Also:
- Constant Field Values
-
digestAlgorithm
public final String digestAlgorithm
-
digestPattern
@Deprecated public final Pattern digestPattern
Deprecated.since 11.5, useKeyStrategyDigest
instead
-
digestAsync
public final boolean digestAsync
- Since:
- 11.5
-
-
Method Detail
-
getDigestAlgorithm
protected String getDigestAlgorithm()
-
getDigestPattern
@Deprecated protected Pattern getDigestPattern()
Deprecated.since 11.5, useKeyStrategyDigest
instead
-
isValidDigest
@Deprecated public boolean isValidDigest(String digest)
Deprecated.since 11.5, useKeyStrategyDigest
instead
-
-