class HexaPDF::Type::AcroForm::SignatureField::CertificateSeedValueDictionary

Parent
Extended With

A certificate seed value dictionary contains information about the characteristics of the certificate that shall be used when signing.

Flags

The flags describe the entries that a signer is required to use.

The available flags are: subject, issuer, oid, subject_dn, reserved, key_usage and url.

See: PDF2.0 s12.7.5.5

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymbolfalse:SVCert
FfIntegerfalse0
SubjectHexaPDF::PDFArray or Arrayfalsenil
SignaturePolicyOIDStringfalsenil
SignaturePolicyHashValueStringfalsenil
SignaturePolicyHashAlgorithmSymbolfalsenil
SignaturePolicyCommitmentTypeHexaPDF::PDFArray or Arrayfalsenil
SubjectDNHexaPDF::PDFArray or Arrayfalsenil
KeyUsageHexaPDF::PDFArray or Arrayfalsenil
IssuerHexaPDF::PDFArray or Arrayfalsenil
OIDHexaPDF::PDFArray or Arrayfalsenil
URLStringfalsenil
URLTypeSymbolfalse:Browser

Public Instance Methods

flag(*flags, clear_existing: false)

Sets the given flags, given as flag names or bit indices. If clear_existing is true, all prior flags will be cleared.

flagged?(flag)

Returns true if the given flag is set. The argument can either be the flag name or the bit index.

flags()

Returns an array of flag names representing the set bit flags.