LibreOffice Module xmlsecurity (master) 1
|
note: anything in ds:Object should be trusted only if there is a ds:Reference to it so it is signed (exception: the xades:EncapsulatedX509Certificate). More...
Public Member Functions | |
ReferencedContextImpl (XSecParser &rParser, std::optional< SvXMLNamespaceMap > &&pOldNamespaceMap, bool const isReferenced) | |
OUString | CheckIdAttrReferenced (css::uno::Reference< css::xml::sax::XAttributeList > const &xAttrs) |
Public Member Functions inherited from XSecParser::Context | |
Context (XSecParser &rParser, std::optional< SvXMLNamespaceMap > &&pOldNamespaceMap) | |
virtual | ~Context ()=default |
virtual void | StartElement (css::uno::Reference< css::xml::sax::XAttributeList > const &) |
virtual void | EndElement () |
virtual std::unique_ptr< Context > | CreateChildContext (std::optional< SvXMLNamespaceMap > &&pOldNamespaceMap, sal_uInt16 const, OUString const &) |
virtual void | Characters (OUString const &) |
Protected Attributes | |
bool | m_isReferenced |
Protected Attributes inherited from XSecParser::Context | |
XSecParser & | m_rParser |
note: anything in ds:Object should be trusted only if there is a ds:Reference to it so it is signed (exception: the xades:EncapsulatedX509Certificate).
ds:SignedInfo precedes all ds:Object.
There may be multiple ds:Signature for purpose of counter-signatures but the way XAdES describes these, only the ds:SignatureValue element would be referenced, so requiring a ds:Reference for anything in ds:Object shouldn't cause issues.
Definition at line 109 of file xsecparser.cxx.
|
inline |
Definition at line 116 of file xsecparser.cxx.
|
inline |
Definition at line 124 of file xsecparser.cxx.
References XSecParser::HandleIdAttr(), XSecController::haveReferenceForId(), m_isReferenced, XSecParser::m_pXSecController, and XSecParser::Context::m_rParser.
Referenced by XSecParser::XadesSignedSignaturePropertiesContext::StartElement(), XSecParser::XadesSignedPropertiesContext::StartElement(), XSecParser::XadesQualifyingPropertiesContext::StartElement(), XSecParser::DsSignaturePropertyContext::StartElement(), XSecParser::DsSignaturePropertiesContext::StartElement(), and XSecParser::DsObjectContext::StartElement().
|
protected |
Definition at line 113 of file xsecparser.cxx.
Referenced by CheckIdAttrReferenced(), XSecParser::LoSignatureLineContext::CreateChildContext(), XSecParser::XadesSigningCertificateContext::CreateChildContext(), XSecParser::XadesSignedSignaturePropertiesContext::CreateChildContext(), XSecParser::XadesSignedPropertiesContext::CreateChildContext(), XSecParser::XadesQualifyingPropertiesContext::CreateChildContext(), XSecParser::DsSignaturePropertiesContext::CreateChildContext(), XSecParser::DsObjectContext::CreateChildContext(), XSecParser::LoSignatureLineIdContext::EndElement(), XSecParser::LoSignatureLineValidImageContext::EndElement(), XSecParser::LoSignatureLineInvalidImageContext::EndElement(), XSecParser::XadesCertContext::EndElement(), XSecParser::XadesSigningTimeContext::EndElement(), and XSecParser::DsSignaturePropertyContext::EndElement().