class HexaPDF:: Type:: AcroForm:: SignatureField:: CertificateSeedValueDictionary
| Parent | HexaPDF::Dictionary |
|---|---|
| Extended With |
HexaPDF::Utils::BitField |
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
| Name | Type/Allowed Values | Required | Default Value |
|---|---|---|---|
| Type | Symbol | false | :SVCert |
| Ff | Integer | false | 0 |
| Subject | HexaPDF::PDFArray or Array | false | nil |
| SignaturePolicyOID | String | false | nil |
| SignaturePolicyHashValue | String | false | nil |
| SignaturePolicyHashAlgorithm | Symbol | false | nil |
| SignaturePolicyCommitmentType | HexaPDF::PDFArray or Array | false | nil |
| SubjectDN | HexaPDF::PDFArray or Array | false | nil |
| KeyUsage | HexaPDF::PDFArray or Array | false | nil |
| Issuer | HexaPDF::PDFArray or Array | false | nil |
| OID | HexaPDF::PDFArray or Array | false | nil |
| URL | String | false | nil |
| URLType | Symbol | false | :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.
Returns an array of flag names representing the set bit flags.