---
title: PKCS1MD2
framework: security
role: symbol
role_heading: Type Property
path: security/secpadding/pkcs1md2
---

# PKCS1MD2

Data to be signed is an MD2 hash.

## Declaration

```swift
static var PKCS1MD2: SecPadding { get }
```

## Discussion

Discussion Standard ASN.1 padding is done, as well as PKCS1 padding of the underlying RSA operation. Used with SecKeyRawSign(_:_:_:_:_:_:) and SecKeyRawVerify(_:_:_:_:_:_:) only.
