PkgAgentSystem.Classification
Class CertificateWrapper
java.lang.Object
|
+--PkgAgentSystem.Classification.CertificateWrapper
- All Implemented Interfaces:
- AgentClassification, CertificateClassification, Serializable
- Direct Known Subclasses:
- RevocationCheckCertificateWrapper
- public class CertificateWrapper
- extends Object
- implements CertificateClassification, Serializable
A class representing an additional classification by providing a certificate.
- Version:
- 1.0, 1.7.2000
- Author:
- Michael Sonntag
- See Also:
- Serialized Form
Field Summary |
protected Certificate |
cert
The certificate, which is presented as additional classification |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cert
protected Certificate cert
- The certificate, which is presented as additional classification
CertificateWrapper
public CertificateWrapper(Certificate cert)
- Creates a new classification with the provided certificate
- Parameters:
cert
- the certificat to present as additional classification
getCertificate
public Certificate getCertificate()
- Retrieve the certificate for inspection, checking, ...
- Specified by:
getCertificate
in interface CertificateClassification
- Returns:
- the certificate which is presented
getClassificationStatus
public int getClassificationStatus()
- Returns the current status of this classification. Is one of the constants defined in the interface
AgentClassification
.
- Specified by:
getClassificationStatus
in interface AgentClassification
- Returns:
- the status of the classification
- See Also:
AgentClassification
setClassificationStatus
public final void setClassificationStatus(int newStatus)
- Sets the status of this classification. Must be one of the constants defined in the interface
AgentClassification
.
- Specified by:
setClassificationStatus
in interface AgentClassification
- Parameters:
newStatus
- the new status- Throws:
SecurityException
- if the caller may not modify the status of the classification- See Also:
AgentClassification
Submit a bug
Copyright 2001,2002 Michael Sonntag & Institute for Information Processing and Microprocessor Technology (FIM), Johannes-Kepler-University Linz, Altenbergerstr. 69, A-4040 Linz, Austria.