|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.rsa.certj.spi.path.PolicyInformation
This class captures a certificate policy from
a CertPolicies
certificate extension.
A collection of PolicyInformation
objects
is returned by the buildCertPath
method
in the CertJ
class.
See Also
CertPolicies
Constructor Summary |
|
PolicyInformation(byte[] id,
PolicyQualifiers qualifiers)
Constructs a |
Method Summary |
|
boolean |
equals(Object object)
Compares this object with the given object to determine whether they contain the same policy qualifiers and the same policy indentifier. |
byte[] |
getCertPolicyID()
Gets the identifier of the certificate policy
in this |
getPolicyQualifiers()
Gets the policy qualifiers of the certificate policy
in this |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PolicyInformation(byte[] id, PolicyQualifiers qualifiers) throws CertPathException
PolicyInformation
object and initializes it
with the given values.Parameters
id | A | ||
qualifiers | A |
Throws
CertPathException
- If there is an error
when cloning the policy qualifiers.Method Detail |
public byte[] getCertPolicyID()
PolicyInformation
object.
Returns
byte
array that contains the certificate
policy identifier.public PolicyQualifiers getPolicyQualifiers() throws CertPathException
PolicyInformation
object.
Returns
PolicyQualifiers
object that
contains an array of the policy qualifiers of
the certificate policy.
Throws
CertPathException
- If there is an error
when cloning the policy qualifiers.public boolean equals(Object object)
Overrides
equals
in class Object
Parameters
object | An |
Returns
boolean
with a value of
true
if the two objects contain the same
policy qualifiers and the same policy identifier; returns
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |