## PKCS1::PKCS1() constructor


Inititalizes new instance of the [PKCS1](../) class.

```cpp
Aspose::Pdf::Forms::PKCS1::PKCS1()
```

## See Also

* Class [PKCS1](../)
* Namespace [Aspose::Pdf::Forms](../../)
* Library [Aspose.PDF for C++](../../../)
## PKCS1::PKCS1(const System::SharedPtr\<System::IO::Stream\>\&) constructor


Initializes new instance of the [PKCS1](../) class.

```cpp
Aspose::Pdf::Forms::PKCS1::PKCS1(const System::SharedPtr<System::IO::Stream> &image)
```


| Parameter | Type | Description |
| --- | --- | --- |
| image | const System::SharedPtr\<System::IO::Stream\>\& | This image will define signature appearance on the page. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [PKCS1](../)
* Namespace [Aspose::Pdf::Forms](../../)
* Library [Aspose.PDF for C++](../../../)
## PKCS1::PKCS1(const System::SharedPtr\<System::IO::Stream\>\&, const System::String\&) constructor


Inititalizes new instance of the [PKCS1](../) class.

```cpp
Aspose::Pdf::Forms::PKCS1::PKCS1(const System::SharedPtr<System::IO::Stream> &pfx, const System::String &password)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pfx | const System::SharedPtr\<System::IO::Stream\>\& | Stream with certificate data organized as pfx. |
| password | const System::String\& | Password to get access to the private key in the certificate. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [String](../../../system/string/)
* Class [PKCS1](../)
* Namespace [Aspose::Pdf::Forms](../../)
* Library [Aspose.PDF for C++](../../../)
## PKCS1::PKCS1(const System::String\&, const System::String\&) constructor


Inititalizes new instance of the [PKCS1](../) class.

```cpp
Aspose::Pdf::Forms::PKCS1::PKCS1(const System::String &pfx, const System::String &password)
```


| Parameter | Type | Description |
| --- | --- | --- |
| pfx | const System::String\& | Pfx file which contains certificate for signing. |
| password | const System::String\& | Password for certificate. |
## Remarks



Password to get access to the private key in the certificate. 
## See Also

* Class [String](../../../system/string/)
* Class [PKCS1](../)
* Namespace [Aspose::Pdf::Forms](../../)
* Library [Aspose.PDF for C++](../../../)
