---
title: "Aspose::Email::PersonalInfo::VCard::VCardSecurity class"
url: "https://reference.aspose.com/email/cpp/aspose.email.personalinfo.vcard/vcardsecurity/"
product: "Aspose.Email for C++"
description: "Represents a vCard security properties"
---


## VCardSecurity class

Represents a vCard security properties

## Constructors

| Name | Description |
| --- | --- |
| [VCardSecurity (2 overloads)](./vcardsecurity/) | Initializes a new instance of the VCardSecurity class |

## Methods

| Name | Description |
| --- | --- |
| [get_AccessClass](./get_accessclass/) | Gets an access class |
| [get_Encoding](./get_encoding/) | Gets a ContentTransferEncoding |
| [get_Key](./get_key/) | Gets a public key(or authentication certificate) |
| [get_Type](./get_type/) | Gets type of public key. |
| [SaveToPEM (2 overloads)](./savetopem/) | Saves base64 key in PEM format to the stream. |
| [set_AccessClass](./set_accessclass/) | Sets an access class |
| [set_Encoding](./set_encoding/) | Sets a ContentTransferEncoding |
| [set_Key](./set_key/) | Sets a public key(or authentication certificate) |
| [set_Type](./set_type/) | Sets type of public key. |
| [ToVCardHeaderList](./tovcardheaderlist/) | Adds the identification properties to the specified properties |

