public interface Policy
Modifier and Type | Method and Description |
---|---|
Policy |
getFallbackPolicy()
Used to get the fallback policy set by
setFallbackPolicy(Policy) . |
String |
getName()
Human readable name of the policy
|
List<Rule> |
getRules()
Used to get the rules of the policy.
|
String |
getType()
This method returns the type of the policy.
|
void |
setFallbackPolicy(Policy policy)
Adds fallback policy to be used when signature does not verify with given policy.
|
List<Rule> getRules()
String getName()
String getType()
void setFallbackPolicy(Policy policy)
policy
- fallback policy to be used when signature does not verify with given policy.Policy getFallbackPolicy()
setFallbackPolicy(Policy)
.Policy
if fallback policy is set.Copyright © 2024 Guardtime. All rights reserved.