Class PAdESLevelBaselineB

java.lang.Object
eu.europa.esig.dss.cades.signature.CAdESLevelBaselineB
eu.europa.esig.dss.pades.signature.PAdESLevelBaselineB

public class PAdESLevelBaselineB extends CAdESLevelBaselineB
PAdES Baseline B signature
  • Constructor Details

  • Method Details

    • addSigningTimeAttribute

      protected void addSigningTimeAttribute(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Description copied from class: CAdESLevelBaselineB
      Adds a signing time attribute
      Overrides:
      addSigningTimeAttribute in class CAdESLevelBaselineB
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector
    • addSignerLocation

      protected void addSignerLocation(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Description copied from class: CAdESLevelBaselineB
      ETSI TS 101 733 V2.2.1 (2013-04) 5.11.2 signer-location Attribute The signer-location attribute specifies a mnemonic for an address associated with the signer at a particular geographical (e.g. city) location. The mnemonic is registered in the country in which the signer is located and is used in the provision of the Public Telegram Service (according to Recommendation ITU-T F.1 [11]). The signer-location attribute shall be a signed attribute.
      Overrides:
      addSignerLocation in class CAdESLevelBaselineB
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector signed attributes
    • addContentIdentifier

      protected void addContentIdentifier(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Description copied from class: CAdESLevelBaselineB
      ETSI TS 101 733 V2.2.1 (2013-04)

      5.10.2 content-identifier Attribute The content-identifier attribute provides an identifier for the signed content, for use when a reference may be later required to that content; for example, in the content-reference attribute in other signed data sent later. The content-identifier shall be a signed attribute. content-identifier attribute type values for the ES have an ASN.1 type ContentIdentifier, as defined in ESS (RFC 2634 [5]).

      The minimal content-identifier attribute should contain a concatenation of user-specific identification information (such as a user name or public keying material identification information), a GeneralizedTime string, and a random number.

      Overrides:
      addContentIdentifier in class CAdESLevelBaselineB
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector signed attributes
    • addMimeType

      protected void addMimeType(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Description copied from class: CAdESLevelBaselineB
      Adds a MimeType attribute
      Overrides:
      addMimeType in class CAdESLevelBaselineB
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector
    • addSignedAttributes

      protected void addSignedAttributes(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Description copied from class: CAdESLevelBaselineB
      Adds the signed attributes to the signedAttributes vector
      Overrides:
      addSignedAttributes in class CAdESLevelBaselineB
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector
    • addMessageImprint

      protected void addMessageImprint(CAdESSignatureParameters parameters, org.bouncycastle.asn1.ASN1EncodableVector signedAttributes)
      Adds a message-imprint property
      Parameters:
      parameters - CAdESSignatureParameters
      signedAttributes - ASN1EncodableVector