public class Policy extends Object implements Serializable
| Constructor and Description |
|---|
Policy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDescription()
Get the signature policy description
|
DigestAlgorithm |
getDigestAlgorithm()
Return the hash algorithm for the signature policy
|
byte[] |
getDigestValue()
Get the hash value of the explicit signature policy
|
String |
getId()
Get the signature policy (EPES)
|
String |
getQualifier()
Get the identifier qualifier
|
String |
getSpuri()
Get the SP URI (signature policy URI)
|
int |
hashCode() |
void |
setDescription(String description)
Set the signature policy description
|
void |
setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
Set the hash algorithm for the explicit signature policy
|
void |
setDigestValue(byte[] digestValue)
Set the hash value of implicit signature policy
|
void |
setId(String id)
Set the signature policy (EPES)
|
void |
setQualifier(String qualifier)
Set the identifier qualifier
|
void |
setSpuri(String spuri)
Set the SP URI (signature policy URI)
|
String |
toString() |
public String getId()
public void setId(String id)
id - the policy idpublic String getQualifier()
public void setQualifier(String qualifier)
qualifier - the qualifierpublic String getDescription()
public void setDescription(String description)
description - the policy descriptionpublic DigestAlgorithm getDigestAlgorithm()
public void setDigestAlgorithm(DigestAlgorithm digestAlgorithm)
digestAlgorithm - the used digest algorithm for the policypublic byte[] getDigestValue()
public void setDigestValue(byte[] digestValue)
digestValue - the digest of the policypublic String getSpuri()
public void setSpuri(String spuri)
spuri - the signature policy URICopyright © 2018. All rights reserved.