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 (OOXMLSecParser &rParser, std::optional< SvXMLNamespaceMap > &&pOldNamespaceMap, bool const isReferenced) | |
OUString | CheckIdAttrReferenced (css::uno::Reference< css::xml::sax::XAttributeList > const &xAttrs) |
Public Member Functions inherited from OOXMLSecParser::Context | |
Context (OOXMLSecParser &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 OOXMLSecParser::Context | |
OOXMLSecParser & | 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 101 of file ooxmlsecparser.cxx.
|
inline |
Definition at line 108 of file ooxmlsecparser.cxx.
|
inline |
Definition at line 116 of file ooxmlsecparser.cxx.
References OOXMLSecParser::HandleIdAttr(), XSecController::haveReferenceForId(), m_isReferenced, OOXMLSecParser::m_pXSecController, and OOXMLSecParser::Context::m_rParser.
Referenced by OOXMLSecParser::XadesSignedSignaturePropertiesContext::StartElement(), OOXMLSecParser::XadesSignedPropertiesContext::StartElement(), OOXMLSecParser::XadesQualifyingPropertiesContext::StartElement(), OOXMLSecParser::MsodigsigSignatureInfoV1Context::StartElement(), OOXMLSecParser::DsSignaturePropertyContext::StartElement(), OOXMLSecParser::DsSignaturePropertiesContext::StartElement(), OOXMLSecParser::DsManifestContext::StartElement(), and OOXMLSecParser::DsObjectContext::StartElement().
|
protected |
Definition at line 105 of file ooxmlsecparser.cxx.
Referenced by CheckIdAttrReferenced(), OOXMLSecParser::XadesSigningCertificateContext::CreateChildContext(), OOXMLSecParser::XadesSignedSignaturePropertiesContext::CreateChildContext(), OOXMLSecParser::XadesSignedPropertiesContext::CreateChildContext(), OOXMLSecParser::XadesQualifyingPropertiesContext::CreateChildContext(), OOXMLSecParser::DsSignaturePropertyContext::CreateChildContext(), OOXMLSecParser::DsSignaturePropertiesContext::CreateChildContext(), OOXMLSecParser::DsObjectContext::CreateChildContext(), OOXMLSecParser::XadesCertContext::EndElement(), OOXMLSecParser::XadesSigningTimeContext::EndElement(), OOXMLSecParser::MsodigsigSignatureInfoV1Context::EndElement(), OOXMLSecParser::DsSignaturePropertyContext::EndElement(), and OOXMLSecParser::DsObjectContext::EndElement().