XFA Specification
Chapter 15, Template Specification
Template Reference
464
The certificate element
An element that holds a suitable Base64 DER-encoded X.509v3 certificate.
<certificate
Properties:
id="xml-id"
name="xml-id"
use="cdata"
usehref="cdata"
>
...pcdata...
</certificate>
The certificate element is used within the following other elements:
encrypt issuers proto signing
A certificate binds a person or entity to a specific public key. 509v3 certificates are described in RFC 3280,
Internet X.509 Public Key Infrastructure, Certificate and Certificate Revocation List (CRL) Profile [RFC3280].
Content
A Base64 DER-encoded X.509v3 certificate.
Depending upon the context this element can contain a certificate holding either a public key or a private
key. When used for encryption, as a property of a
barcode
When used for authenticating a signing certificate, as a property of an
issuers
public key. But when used for signing, as a property of a
signing
element, it holds a private key.
The id property
A unique identifier that may be used to identify this element as a target.
The name property
An identifier that may be used to identify this element in script expressions.
The use property
Invokes another object in the same document as a prototype for this object. The content of this property is
either a SOM expression (which cannot start with '#') or a '#' character followed by an XML ID.
Starting with XFA 2.4 the object used as a prototype no longer needs to be the child of
proto
. Any object
of the appropriate class can be used as a prototype.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The usehref property
Invokes an external object as a prototype for this object. The content of this property is an URL, followed
by '#', followed by either an XML ID or by som(SOM_expr) where
SOM_expr
represents a SOM expression.
The XML ID or SOM expression is resolved in the context of the external document.
If both
use
and
usehref
are non-empty
usehref
takes precedence.