public class SignerInfoImpl extends Object implements SignerInfo
SignerInfo
.Constructor and Description |
---|
SignerInfoImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getIssuerCountryCode()
Returns the signer certificate issuer country code
|
String |
getPublicAuhtorityID()
Gets the public authority ID, if the certificate contained in this
object is from a public authority.
|
String |
getQCSource()
Returns the source of the QC check (TSL or Certificate) *
|
X509Certificate |
getSignerCertificate()
Gets the signer certificate.
|
String |
getSSCDSource()
Returns the source of the SSCD check (TSL or Certificate) *
|
boolean |
isPublicAuthority()
Checks, whether the certificate contained in this object is a
public authority certificate.
|
boolean |
isQualifiedCertificate()
Checks, whether the certificate contained in this object is qualified.
|
boolean |
isSSCD()
Checks, whether the signature is based on a SSCD.
|
void |
setIssuerCountryCode(String issuerCountryCode) |
void |
setPublicAuhtorityID(String publicAuhtorityID)
Sets the public authority ID of the signer certificate.
|
void |
setPublicAuthority(boolean publicAuthority)
Sets, whether the certificate contained in this object is an
e-government certificate or not.
|
void |
setQCSourceTSL(boolean qcSourceTSL) |
void |
setQualifiedCertificate(boolean qualifiedCertificate)
Sets, whether the certificate contained in this object is qualified or not.
|
void |
setSignerCertificate(X509Certificate signerCertificate)
Sets the signer certificate.
|
void |
setSSCD(boolean sscd)
Sets, whether the signature is based on an SSCS or not.
|
void |
setSSCDSourceTSL(boolean sscdSourceTSL) |
public void setSignerCertificate(X509Certificate signerCertificate)
signerCertificate
- The signer certificate.public X509Certificate getSignerCertificate()
SignerInfo
getSignerCertificate
in interface SignerInfo
public void setQualifiedCertificate(boolean qualifiedCertificate)
qualifiedCertificate
- Is true
, if the certificate is
qualified, otherwise false
.public boolean isQualifiedCertificate()
SignerInfo
isQualifiedCertificate
in interface SignerInfo
true
, if the certificate is qualified, otherwise
false
.public void setSSCD(boolean sscd)
sscd
- Is true
, if the signature is
based on an SSCD, otherwise false
.public boolean isSSCD()
SignerInfo
isSSCD
in interface SignerInfo
true
, if the signature is based on a SSCD, otherwise
false
.public void setSSCDSourceTSL(boolean sscdSourceTSL)
public String getSSCDSource()
SignerInfo
getSSCDSource
in interface SignerInfo
public void setQCSourceTSL(boolean qcSourceTSL)
public String getQCSource()
SignerInfo
getQCSource
in interface SignerInfo
public void setIssuerCountryCode(String issuerCountryCode)
public String getIssuerCountryCode()
SignerInfo
getIssuerCountryCode
in interface SignerInfo
public void setPublicAuthority(boolean publicAuthority)
publicAuthority
- Is true
, if the certificate is
public authority certificate, otherwise false
.public boolean isPublicAuthority()
SignerInfo
isPublicAuthority
in interface SignerInfo
true
, if the certificate is a public authority
certificate, otherwise false
.public void setPublicAuhtorityID(String publicAuhtorityID)
publicAuhtorityID
- The public authority ID of the signer certificate.public String getPublicAuhtorityID()
SignerInfo
getPublicAuhtorityID
in interface SignerInfo
Copyright © 2016. All rights reserved.