|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.knowcenter.wag.egov.egiz.sig.SignatureResponse
public class SignatureResponse
The response of a verification.
Field Summary | |
---|---|
protected X509Cert |
certificate_
The X.509 certificated parsed from the response string. |
Constructor Summary | |
---|---|
SignatureResponse()
|
Method Summary | |
---|---|
X509Cert |
getCertificate()
Returns the X.509 certificate of this response. |
String |
getCertificateCheckCode()
|
String |
getCertificateCheckInfo()
|
List |
getPublicProperties()
Returns a list of Strings each stating one public property of the certificate. |
String |
getSignatureCheckCode()
|
String |
getSignatureCheckInfo()
|
String |
getSignatureManifestCheckCode()
|
String |
getSignatureManifestCheckInfo()
|
String |
getX509IssuerName()
|
String |
getX509SerialNumber()
|
String |
getX509SubjectName()
|
boolean |
isQualifiedCertificate()
Returns true if certificate is qualified, false if not. |
void |
setCertificate(X509Cert certificate)
Sets the X.509 certificate of this response. |
void |
setCertificateCheckCode(String certificateCheckCode)
|
void |
setCertificateCheckInfo(String certificateCheckInfo)
|
void |
setQualifiedCertificate(boolean qualifiedCertificate)
Sets the flag for qualified certificate. |
void |
setSignatureCheckCode(String signatureCheckCode)
|
void |
setSignatureCheckInfo(String signatureCheckInfo)
|
void |
setSignatureManifestCheckCode(String signatureManifestCheckCode)
|
void |
setSignatureManifestCheckInfo(String signatureManifestCheckInfo)
|
void |
setX509IssuerName(String issuerName)
|
void |
setX509SerialNumber(String serialNumber)
|
void |
setX509SubjectName(String subjectName)
|
String |
toString()
The toString method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected X509Cert certificate_
Constructor Detail |
---|
public SignatureResponse()
Method Detail |
---|
public String getCertificateCheckCode()
public void setCertificateCheckCode(String certificateCheckCode)
certificateCheckCode
- The certificateCheckCode to set.public String getSignatureCheckCode()
public void setSignatureCheckCode(String signatureCheckCode)
signatureCheckCode
- The signatureCheckCode to set.public String getSignatureManifestCheckCode()
public void setSignatureManifestCheckCode(String signatureManifestCheckCode)
signatureManifestCheckCode
- The signatureManifestCheckCode to set.public String getX509IssuerName()
public void setX509IssuerName(String issuerName)
issuerName
- The x509IssuerName to set.public String getX509SerialNumber()
public void setX509SerialNumber(String serialNumber)
serialNumber
- The x509SerialNumber to set.public String getX509SubjectName()
public void setX509SubjectName(String subjectName)
subjectName
- The x509SubjectName to set.public String getCertificateCheckInfo()
public void setCertificateCheckInfo(String certificateCheckInfo)
certificateCheckInfo
- The certificateCheckInfo to set.public boolean isQualifiedCertificate()
true
if certificate is qualified, false
if not.
true
if certificate is qualified, false
if not.public void setQualifiedCertificate(boolean qualifiedCertificate)
qualifiedCertificate
- The new qualified certificate status.public String getSignatureCheckInfo()
public void setSignatureCheckInfo(String signatureCheckInfo)
signatureCheckInfo
- The signatureCheckInfo to set.public String getSignatureManifestCheckInfo()
public void setSignatureManifestCheckInfo(String signatureManifestCheckInfo)
signatureManifestCheckInfo
- The signatureManifestCheckInfo to set.public X509Cert getCertificate()
public void setCertificate(X509Cert certificate)
certificate
- The X.509 certificate to be set.public List getPublicProperties() throws SettingNotFoundException
Such public properties are certificate extensions each being assigned an own OID. For example the public property "Verwaltungseigenschaft" has the OID "1.2.40.0.10.1.1.1".
This methods reads out the list of possible properties from the config file and compares these to the extensions defined on the certificate. If they match, a String containing useful information about the property is added to the list returned.
SettingNotFoundException
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |