
**Inheritance:**
java.lang.Object
```
public final class VCardSecurity
```

Represents a vCard security properties
## Constructors

| Constructor | Description |
| --- | --- |
| [VCardSecurity()](#VCardSecurity--) | Initializes a new instance of the [VCardSecurity](../../com.aspose.email/vcardsecurity) class |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getAccessClass()](#getAccessClass--) | Gets or sets an access class |
| [getClass()](#getClass--) |  |
| [getEncoding()](#getEncoding--) | Gets or sets a ContentTransferEncoding |
| [getKey()](#getKey--) | Gets or sets a public key(or authentication certificate) |
| [getType()](#getType--) | Gets or sets type of public key. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [saveToPEM(OutputStream stream)](#saveToPEM-java.io.OutputStream-) | Saves base64 key in PEM format to the stream. |
| [saveToPEM(String path)](#saveToPEM-java.lang.String-) | Saves base64 key to PEM format. |
| [setAccessClass(String value)](#setAccessClass-java.lang.String-) | Gets or sets an access class |
| [setEncoding(int value)](#setEncoding-int-) | Gets or sets a ContentTransferEncoding |
| [setKey(String value)](#setKey-java.lang.String-) | Gets or sets a public key(or authentication certificate) |
| [setType(String value)](#setType-java.lang.String-) | Gets or sets type of public key. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### VCardSecurity() {#VCardSecurity--}
```
public VCardSecurity()
```


Initializes a new instance of the [VCardSecurity](../../com.aspose.email/vcardsecurity) class

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getAccessClass() {#getAccessClass--}
```
public final String getAccessClass()
```


Gets or sets an access class

**Returns:**
java.lang.String
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getEncoding() {#getEncoding--}
```
public final int getEncoding()
```


Gets or sets a ContentTransferEncoding

**Returns:**
int
### getKey() {#getKey--}
```
public final String getKey()
```


Gets or sets a public key(or authentication certificate)

**Returns:**
java.lang.String
### getType() {#getType--}
```
public final String getType()
```


Gets or sets type of public key.

**Returns:**
java.lang.String
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### saveToPEM(OutputStream stream) {#saveToPEM-java.io.OutputStream-}
```
public final void saveToPEM(OutputStream stream)
```


Saves base64 key in PEM format to the stream.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream | java.io.OutputStream | Stream to save. |

### saveToPEM(String path) {#saveToPEM-java.lang.String-}
```
public final void saveToPEM(String path)
```


Saves base64 key to PEM format.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| path | java.lang.String | Path to file. |

### setAccessClass(String value) {#setAccessClass-java.lang.String-}
```
public final void setAccessClass(String value)
```


Gets or sets an access class

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setEncoding(int value) {#setEncoding-int-}
```
public final void setEncoding(int value)
```


Gets or sets a ContentTransferEncoding

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setKey(String value) {#setKey-java.lang.String-}
```
public final void setKey(String value)
```


Gets or sets a public key(or authentication certificate)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### setType(String value) {#setType-java.lang.String-}
```
public final void setType(String value)
```


Gets or sets type of public key.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.lang.String |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

