An open API service indexing awesome lists of open source software.

https://github.com/ably/apns-cert-parser

A simple parser to extract details of the Apple custom extension used to encode bundle/topic ids in Apple developer certificates.
https://github.com/ably/apns-cert-parser

Last synced: 3 months ago
JSON representation

A simple parser to extract details of the Apple custom extension used to encode bundle/topic ids in Apple developer certificates.

Awesome Lists containing this project

README

          

# APNS Certificate Parser

A simple parser to extract details of the Apple custom extension used to encode bundle/topic ids in Apple developer certificates.

# Usage

```
const buf = fs.readFileSync(__dirname + '/path/to/certificate.pem'),
cert = Certificate.fromPEM(buf),
{ name, detail } = cert.getFirstTopicIdentifier();
```

# Test

```
npm test
```