コード例 #1
0
 public TimestampToken getContentTimestamp() {
   try {
     return SignedAttributesHelper.getContentTimestamp(firstSignerInfo.getSignedAttributes());
   } catch (Exception e) {
     ExceptionHandlerTyped.<SPISignatureException>handle(SPISignatureException.class, e);
   }
   return null;
 }
コード例 #2
0
 // OCSP responses found as signed ID_ADBE_REVOCATION attribute
 public Set<OCSPResponse> getSignedOCSPResponses() {
   try {
     AttributeTable table = firstSignerInfo.getSignedAttributes();
     return SignedAttributesHelper.getSignedOCSPResponses(table);
   } catch (Exception e) {
     ExceptionHandlerTyped.<SPISignatureException>handle(SPISignatureException.class, e);
   }
   return null;
 }
コード例 #3
0
 // CRLS found as signed ID_ADBE_REVOCATION attribute
 public Collection<CRL> getSignedCRLs() {
   try {
     AttributeTable table = firstSignerInfo.getSignedAttributes();
     return SignedAttributesHelper.getSignedCRLs(table);
   } catch (Exception e) {
     ExceptionHandlerTyped.<SPISignatureException>handle(SPISignatureException.class, e);
   }
   return null;
 }
コード例 #4
0
 public SignerAttribute getSignerAttributesAttribute() {
   return SignedAttributesHelper.getSignerAttributesAttribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #5
0
 public SignerLocation getSignerLocationAttribute() {
   return SignedAttributesHelper.getSignerLocationAttribute(firstSignerInfo.getSignedAttributes());
 }
コード例 #6
0
 public CommitmentTypeIndication getCommitmentTypeIndicationAttribute() {
   return SignedAttributesHelper.getCommitmentTypeIndicationAttribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #7
0
 public ContentHints getContentHintsAttribute() {
   return SignedAttributesHelper.getContentHintsAttribute(firstSignerInfo.getSignedAttributes());
 }
コード例 #8
0
 public ContentIdentifier getContentIdentifierAttribute() {
   return SignedAttributesHelper.getContentIdentifierAttribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #9
0
 public DEREncodable getContentReferenceAttribute() {
   return SignedAttributesHelper.getContentReferenceAttribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #10
0
 public SignaturePolicyIdentifier getSignaturePolicyIdentifierAttribute() {
   return SignedAttributesHelper.getSignaturePolicyIdentifierAttribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #11
0
 public ESSCertIDv2 getSigningCertificateV2Attribute() {
   return SignedAttributesHelper.getSigningCertificateV2Attribute(
       firstSignerInfo.getSignedAttributes());
 }
コード例 #12
0
 public ASN1ObjectIdentifier getContentTypeAttribute() {
   return SignedAttributesHelper.getContentTypeAttribute(firstSignerInfo.getSignedAttributes());
 }
コード例 #13
0
 public byte[] getDigestAttribute() {
   return SignedAttributesHelper.getDigestAttribute(firstSignerInfo.getSignedAttributes());
 }
コード例 #14
0
 public Date getSigningTime() {
   return SignedAttributesHelper.getSigningTime(firstSignerInfo.getSignedAttributes());
 }