public class ESignedData extends BaseASNWrapper<SignedData>
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
mObject
Constructor and Description |
---|
ESignedData(byte[] aBytes)
Create ESignedData from byte array
|
ESignedData(SignedData aObject) |
Modifier and Type | Method and Description |
---|---|
void |
addCertificateChoices(ECertificateChoices aCertificateChoices)
Add certificate choices to signed data
|
void |
addDigestAlgorithmIdentifier(EAlgorithmIdentifier aDigestAlgorithmIdentifier)
Add digest algorithm to signed data
|
void |
addRevocationInfoChoice(ERevocationInfoChoice aRevocationInfoChoice)
Add revocation info choices to signed data
|
void |
addSignerInfo(ESignerInfo aSignerInfo)
Add signer info to signed data
|
java.util.List<ECertificate> |
getCertificates()
Returns certificates of signed data
|
ECertificateSet |
getCertificateSet()
Returns certificateset of signed data
|
java.util.List<ECRL> |
getCRLs()
Returns CRLs of signed data
|
EAlgorithmIdentifier |
getDigestAlgorithmIdentifier(int aIndex)
Returns digest algorithm of signed data at specific index
|
int |
getDigestAlgorithmIdentifierCount()
Returns count of digest algorithms of signed data
|
java.util.List<EAlgorithmIdentifier> |
getDigestAlgorithmList()
Returns list of digest algorithms of signed data
|
EEncapsulatedContentInfo |
getEncapsulatedContentInfo()
Returns Encapsulated Content Info of signed data
|
java.util.List<EOCSPResponse> |
getOSCPResponses()
Returns OCSP Responses of signed data
|
ERevocationInfoChoices |
getRevocationInfoChoices()
Returns Revocation Info Choices of signed data
|
ESignerInfo |
getSignerInfo(int aIndex)
Returns a Signer Info in signed data at specific index
|
int |
getSignerInfoCount()
Returns count of Signer Info in signed data
|
java.util.List<ESignerInfo> |
getSignerInfos()
Returns all Signer Info in signed data
|
int |
getVersion()
Returns version of signed data
|
boolean |
removeSignerInfo(ESignerInfo aSignerInfo)
Remove signer info from signed data
|
void |
setCertificateSet(ECertificateSet aCertificateSet)
Set certificateset of signed data
|
void |
setEncapsulatedContentInfo(EEncapsulatedContentInfo aEncapsulatedContentInfo)
Set Encapsulated Content Info of signed data
|
void |
setRevocationInfoChoices(ERevocationInfoChoices aRevocationInfoChoices)
Set revocation info choices of signed data
|
void |
setVersion(int aVersion) |
clone, equals, extendArray, extendArray, getEncoded, getObject, hashCode, removeFromArray, unwrapArray, wrapArray
public ESignedData(SignedData aObject)
public ESignedData(byte[] aBytes) throws tr.gov.tubitak.uekae.esya.api.common.ESYAException
aBytes
- byte[]tr.gov.tubitak.uekae.esya.api.common.ESYAException
public int getVersion()
public void setVersion(int aVersion)
public java.util.List<EAlgorithmIdentifier> getDigestAlgorithmList()
public int getDigestAlgorithmIdentifierCount()
public EAlgorithmIdentifier getDigestAlgorithmIdentifier(int aIndex)
aIndex
- indexpublic void addDigestAlgorithmIdentifier(EAlgorithmIdentifier aDigestAlgorithmIdentifier)
aDigestAlgorithmIdentifier
- EAlgorithmIdentifierpublic EEncapsulatedContentInfo getEncapsulatedContentInfo()
public void setEncapsulatedContentInfo(EEncapsulatedContentInfo aEncapsulatedContentInfo)
aEncapsulatedContentInfo
- EEncapsulatedContentInfopublic ECertificateSet getCertificateSet()
public void setCertificateSet(ECertificateSet aCertificateSet)
aCertificateSet
- ECertificateSetpublic void addCertificateChoices(ECertificateChoices aCertificateChoices)
aCertificateChoices
- ECertificateChoicespublic java.util.List<ECertificate> getCertificates()
public ERevocationInfoChoices getRevocationInfoChoices()
public void setRevocationInfoChoices(ERevocationInfoChoices aRevocationInfoChoices)
aRevocationInfoChoices
- ERevocationInfoChoicespublic void addRevocationInfoChoice(ERevocationInfoChoice aRevocationInfoChoice)
aRevocationInfoChoice
- ERevocationInfoChoicepublic java.util.List<ECRL> getCRLs()
public java.util.List<EOCSPResponse> getOSCPResponses()
public int getSignerInfoCount()
public ESignerInfo getSignerInfo(int aIndex)
public void addSignerInfo(ESignerInfo aSignerInfo)
aSignerInfo
- ESignerInfopublic boolean removeSignerInfo(ESignerInfo aSignerInfo)
aSignerInfo
- ESignerInfopublic java.util.List<ESignerInfo> getSignerInfos()
Copyright © 2025. All rights reserved.