LibreOffice Module package (master) 1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
ManifestImport Class Referencefinal

#include <ManifestImport.hxx>

Inheritance diagram for ManifestImport:
[legend]
Collaboration diagram for ManifestImport:
[legend]

Public Member Functions

 ManifestImport (std::vector< css::uno::Sequence< css::beans::PropertyValue > > &rNewVector)
 
virtual ~ManifestImport () override
 
virtual void SAL_CALL startDocument () override
 
virtual void SAL_CALL endDocument () override
 
virtual void SAL_CALL startElement (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs) override
 
virtual void SAL_CALL endElement (const OUString &aName) override
 
virtual void SAL_CALL characters (const OUString &aChars) override
 
virtual void SAL_CALL ignorableWhitespace (const OUString &aWhitespaces) override
 
virtual void SAL_CALL processingInstruction (const OUString &aTarget, const OUString &aData) override
 
virtual void SAL_CALL setDocumentLocator (const css::uno::Reference< css::xml::sax::XLocator > &xLocator) override
 

Private Member Functions

OUString PushNameAndNamespaces (const OUString &aName, const css::uno::Reference< css::xml::sax::XAttributeList > &xAttribs, StringHashMap &o_aConvertedAttribs)
 
OUString ConvertName (const OUString &aName)
 
void doFileEntry (StringHashMap &rConvertedAttribs)
 
void doEncryptionData (StringHashMap &rConvertedAttribs)
 
void doAlgorithm (StringHashMap &rConvertedAttribs)
 
void doKeyDerivation (StringHashMap &rConvertedAttribs)
 
void doStartKeyAlg (StringHashMap &rConvertedAttribs)
 
void doEncryptedKey (StringHashMap &)
 
void doEncryptionMethod (StringHashMap &, const OUString &)
 
void doEncryptedCipherValue ()
 
void doEncryptedKeyId ()
 
void doEncryptedKeyPacket ()
 

Static Private Member Functions

static OUString ConvertNameWithNamespace (const OUString &aName, const StringHashMap &aNamespaces)
 

Private Attributes

std::vector< css::beans::NamedValue > aKeyInfoSequence
 
std::vector< css::uno::Sequence< css::beans::NamedValue > > aKeys
 
std::vector< css::beans::PropertyValue > aSequence
 
OUStringBuffer aCurrentCharacters {64}
 
ManifestStack aStack
 
bool bIgnoreEncryptData
 
bool bPgpEncryption
 
sal_Int32 nDerivedKeySize
 
::std::vector< css::uno::Sequence< css::beans::PropertyValue > > & rManVector
 

Detailed Description

Definition at line 53 of file ManifestImport.hxx.

Constructor & Destructor Documentation

◆ ManifestImport()

ManifestImport::ManifestImport ( std::vector< css::uno::Sequence< css::beans::PropertyValue > > &  rNewVector)

Definition at line 48 of file ManifestImport.cxx.

References aStack.

◆ ~ManifestImport()

ManifestImport::~ManifestImport ( )
overridevirtual

Definition at line 57 of file ManifestImport.cxx.

Member Function Documentation

◆ characters()

void SAL_CALL ManifestImport::characters ( const OUString &  aChars)
overridevirtual

Definition at line 457 of file ManifestImport.cxx.

References aCurrentCharacters.

◆ ConvertName()

OUString ManifestImport::ConvertName ( const OUString &  aName)
private

Definition at line 536 of file ManifestImport.cxx.

References aName, aStack, and ConvertNameWithNamespace().

Referenced by endElement(), and PushNameAndNamespaces().

◆ ConvertNameWithNamespace()

OUString ManifestImport::ConvertNameWithNamespace ( const OUString &  aName,
const StringHashMap aNamespaces 
)
staticprivate

◆ doAlgorithm()

void ManifestImport::doAlgorithm ( StringHashMap rConvertedAttribs)
private

◆ doEncryptedCipherValue()

void ManifestImport::doEncryptedCipherValue ( )
private

◆ doEncryptedKey()

void ManifestImport::doEncryptedKey ( StringHashMap )
private

Definition at line 92 of file ManifestImport.cxx.

References aKeyInfoSequence.

Referenced by startElement().

◆ doEncryptedKeyId()

void ManifestImport::doEncryptedKeyId ( )
private

◆ doEncryptedKeyPacket()

void ManifestImport::doEncryptedKeyPacket ( )
private

◆ doEncryptionData()

void ManifestImport::doEncryptionData ( StringHashMap rConvertedAttribs)
private

◆ doEncryptionMethod()

void ManifestImport::doEncryptionMethod ( StringHashMap rConvertedAttribs,
const OUString &  rAlgoAttrName 
)
private

Definition at line 98 of file ManifestImport.cxx.

References aKeyInfoSequence, and bIgnoreEncryptData.

Referenced by startElement().

◆ doFileEntry()

void ManifestImport::doFileEntry ( StringHashMap rConvertedAttribs)
private

◆ doKeyDerivation()

void ManifestImport::doKeyDerivation ( StringHashMap rConvertedAttribs)
private

◆ doStartKeyAlg()

void ManifestImport::doStartKeyAlg ( StringHashMap rConvertedAttribs)
private

◆ endDocument()

void SAL_CALL ManifestImport::endDocument ( )
overridevirtual

Definition at line 65 of file ManifestImport.cxx.

◆ endElement()

void SAL_CALL ManifestImport::endElement ( const OUString &  aName)
overridevirtual

◆ ignorableWhitespace()

void SAL_CALL ManifestImport::ignorableWhitespace ( const OUString &  aWhitespaces)
overridevirtual

Definition at line 462 of file ManifestImport.cxx.

◆ processingInstruction()

void SAL_CALL ManifestImport::processingInstruction ( const OUString &  aTarget,
const OUString &  aData 
)
overridevirtual

Definition at line 466 of file ManifestImport.cxx.

◆ PushNameAndNamespaces()

OUString ManifestImport::PushNameAndNamespaces ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs,
StringHashMap o_aConvertedAttribs 
)
private

Definition at line 474 of file ManifestImport.cxx.

References aName, aStack, ConvertName(), and ConvertNameWithNamespace().

Referenced by startElement().

◆ setDocumentLocator()

void SAL_CALL ManifestImport::setDocumentLocator ( const css::uno::Reference< css::xml::sax::XLocator > &  xLocator)
overridevirtual

Definition at line 470 of file ManifestImport.cxx.

◆ startDocument()

void SAL_CALL ManifestImport::startDocument ( )
overridevirtual

Definition at line 61 of file ManifestImport.cxx.

◆ startElement()

void SAL_CALL ManifestImport::startElement ( const OUString &  aName,
const css::uno::Reference< css::xml::sax::XAttributeList > &  xAttribs 
)
overridevirtual

Member Data Documentation

◆ aCurrentCharacters

OUStringBuffer ManifestImport::aCurrentCharacters {64}
private

◆ aKeyInfoSequence

std::vector< css::beans::NamedValue > ManifestImport::aKeyInfoSequence
private

◆ aKeys

std::vector< css::uno::Sequence< css::beans::NamedValue > > ManifestImport::aKeys
private

Definition at line 56 of file ManifestImport.hxx.

Referenced by endElement().

◆ aSequence

std::vector< css::beans::PropertyValue > ManifestImport::aSequence
private

◆ aStack

ManifestStack ManifestImport::aStack
private

◆ bIgnoreEncryptData

bool ManifestImport::bIgnoreEncryptData
private

◆ bPgpEncryption

bool ManifestImport::bPgpEncryption
private

Definition at line 61 of file ManifestImport.hxx.

Referenced by doKeyDerivation(), and endElement().

◆ nDerivedKeySize

sal_Int32 ManifestImport::nDerivedKeySize
private

Definition at line 62 of file ManifestImport.hxx.

Referenced by doAlgorithm(), doEncryptionData(), and doKeyDerivation().

◆ rManVector

::std::vector< css::uno::Sequence < css::beans::PropertyValue > >& ManifestImport::rManVector
private

Definition at line 63 of file ManifestImport.hxx.

Referenced by endElement().


The documentation for this class was generated from the following files: