Package es.gob.afirma.signature.cades
Class CAdESSignerInfo
- java.lang.Object
-
- es.gob.afirma.signature.cades.CAdESSignerInfo
-
- All Implemented Interfaces:
java.io.Serializable
public class CAdESSignerInfo extends java.lang.Object implements java.io.SerializableClass that represents the principal information related to a signer of a CAdES signature.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 14/11/2014.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CAdESSignerInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetErrorMsg()Gets the value of the attributeerrorMsg.java.util.List<CAdESSignerInfo>getListCounterSigners()Gets the value of the attributelistCounterSigners.java.util.List<org.bouncycastle.tsp.TimeStampToken>getListTimeStamps()Gets the value of the attributelistTimeStamps.org.bouncycastle.cms.SignerInformationgetSignerInformation()Gets the value of the attributesignerInformation.java.security.cert.X509CertificategetSigningCertificate()Gets the value of the attributesigningCertificate.voidsetErrorMsg(java.lang.String errorMsgParam)Sets the value of the attributeerrorMsg.voidsetListCounterSigners(java.util.List<CAdESSignerInfo> listCounterSignersParam)Sets the value of the attributelistCounterSigners.voidsetListTimeStamps(java.util.List<org.bouncycastle.tsp.TimeStampToken> listTimeStampsParam)Sets the value of the attributelistTimeStamps.voidsetSignerInformation(org.bouncycastle.cms.SignerInformation signerInformationParam)Sets the value of the attributesignerInformation.voidsetSigningCertificate(java.security.cert.X509Certificate signingCertificateParam)Sets the value of the attributesigningCertificate.
-
-
-
Method Detail
-
getSigningCertificate
public final java.security.cert.X509Certificate getSigningCertificate()
Gets the value of the attributesigningCertificate.- Returns:
- the value of the attribute
signingCertificate.
-
setSigningCertificate
public final void setSigningCertificate(java.security.cert.X509Certificate signingCertificateParam)
Sets the value of the attributesigningCertificate.- Parameters:
signingCertificateParam- The value for the attributesigningCertificate.
-
getSignerInformation
public final org.bouncycastle.cms.SignerInformation getSignerInformation()
Gets the value of the attributesignerInformation.- Returns:
- the value of the attribute
signerInformation.
-
setSignerInformation
public final void setSignerInformation(org.bouncycastle.cms.SignerInformation signerInformationParam)
Sets the value of the attributesignerInformation.- Parameters:
signerInformationParam- The value for the attributesignerInformation.
-
getListCounterSigners
public final java.util.List<CAdESSignerInfo> getListCounterSigners()
Gets the value of the attributelistCounterSigners.- Returns:
- the value of the attribute
listCounterSigners.
-
setListCounterSigners
public final void setListCounterSigners(java.util.List<CAdESSignerInfo> listCounterSignersParam)
Sets the value of the attributelistCounterSigners.- Parameters:
listCounterSignersParam- The value for the attributelistCounterSigners.
-
getErrorMsg
public final java.lang.String getErrorMsg()
Gets the value of the attributeerrorMsg.- Returns:
- the value of the attribute
errorMsg.
-
setErrorMsg
public final void setErrorMsg(java.lang.String errorMsgParam)
Sets the value of the attributeerrorMsg.- Parameters:
errorMsgParam- The value for the attributeerrorMsg.
-
getListTimeStamps
public final java.util.List<org.bouncycastle.tsp.TimeStampToken> getListTimeStamps()
Gets the value of the attributelistTimeStamps.- Returns:
- the value of the attribute
listTimeStamps.
-
setListTimeStamps
public final void setListTimeStamps(java.util.List<org.bouncycastle.tsp.TimeStampToken> listTimeStampsParam)
Sets the value of the attributelistTimeStamps.- Parameters:
listTimeStampsParam- The value for the attributelistTimeStamps.
-
-