Aspose::Email::PersonalInfo::VCard::VCardSecurity Class Referencefinal

Represents a vCard security properties More...

Inherits Object.

Public Member Functions

System::String get_Key () const
 Gets a public key(or authentication certificate) More...
 
void set_Key (System::String value)
 Sets a public key(or authentication certificate) More...
 
System::String get_AccessClass () const
 Gets an access class More...
 
void set_AccessClass (System::String value)
 Sets an access class More...
 
Aspose::Email::Mime::TransferEncoding get_Encoding () const
 Gets a ContentTransferEncoding More...
 
void set_Encoding (Aspose::Email::Mime::TransferEncoding value)
 Sets a ContentTransferEncoding More...
 
System::String get_Type () const
 Gets type of public key. More...
 
void set_Type (System::String value)
 Sets type of public key. More...
 
 VCardSecurity ()
 Initializes a new instance of the VCardSecurity class More...
 
 VCardSecurity (System::SharedPtr< VCardHeaderList > properties)
 Initializes a new instance of the VCardSecurity class More...
 
void SaveToPEM (System::String path)
 Saves base64 key to PEM format. More...
 
void SaveToPEM (System::SharedPtr< System::IO::Stream > stream)
 Saves base64 key in PEM format to the stream. More...
 
void ToVCardHeaderList (System::SharedPtr< VCardHeaderList > properties)
 Adds the identification properties to the specified properties More...
 

Friends

class Aspose::Email::Mapi::MapiContact
 
class Aspose::Email::PersonalInfo::VCard::VCardContact
 

Detailed Description

Represents a vCard security properties

Constructor & Destructor Documentation

◆ VCardSecurity() [1/2]

Aspose::Email::PersonalInfo::VCard::VCardSecurity::VCardSecurity ( )

Initializes a new instance of the VCardSecurity class

◆ VCardSecurity() [2/2]

Aspose::Email::PersonalInfo::VCard::VCardSecurity::VCardSecurity ( System::SharedPtr< VCardHeaderList >  properties)

Initializes a new instance of the VCardSecurity class

Parameters
propertiesA vCard properties. A used properties are removed
Exceptions
ArgumentNullExceptionproperties is null

Member Function Documentation

◆ get_AccessClass()

System::String Aspose::Email::PersonalInfo::VCard::VCardSecurity::get_AccessClass ( ) const

Gets an access class

◆ get_Encoding()

Aspose::Email::Mime::TransferEncoding Aspose::Email::PersonalInfo::VCard::VCardSecurity::get_Encoding ( ) const

Gets a ContentTransferEncoding

◆ get_Key()

System::String Aspose::Email::PersonalInfo::VCard::VCardSecurity::get_Key ( ) const

Gets a public key(or authentication certificate)

◆ get_Type()

System::String Aspose::Email::PersonalInfo::VCard::VCardSecurity::get_Type ( ) const

Gets type of public key.

◆ SaveToPEM() [1/2]

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::SaveToPEM ( System::SharedPtr< System::IO::Stream >  stream)

Saves base64 key in PEM format to the stream.

Parameters
streamStream to save.

◆ SaveToPEM() [2/2]

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::SaveToPEM ( System::String  path)

Saves base64 key to PEM format.

Parameters
pathPath to file.

◆ set_AccessClass()

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::set_AccessClass ( System::String  value)

Sets an access class

◆ set_Encoding()

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::set_Encoding ( Aspose::Email::Mime::TransferEncoding  value)

Sets a ContentTransferEncoding

◆ set_Key()

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::set_Key ( System::String  value)

Sets a public key(or authentication certificate)

◆ set_Type()

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::set_Type ( System::String  value)

Sets type of public key.

◆ ToVCardHeaderList()

void Aspose::Email::PersonalInfo::VCard::VCardSecurity::ToVCardHeaderList ( System::SharedPtr< VCardHeaderList >  properties)

Adds the identification properties to the specified properties

Parameters
propertiesA vCard properties
Exceptions
ArgumentNullExceptionproperties is null

Friends And Related Function Documentation

◆ Aspose::Email::Mapi::MapiContact

friend class Aspose::Email::Mapi::MapiContact
friend

◆ Aspose::Email::PersonalInfo::VCard::VCardContact