| #ifndef _IPXE_PEM_H |
| #define _IPXE_PEM_H |
| |
| /** @file |
| * |
| * PEM-encoded ASN.1 data |
| * |
| */ |
| |
| FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); |
| FILE_SECBOOT ( PERMITTED ); |
| |
| #include <stdint.h> |
| #include <ipxe/asn1.h> |
| #include <ipxe/image.h> |
| |
| /** Pre-encapsulation boundary marker */ |
| #define PEM_BEGIN "-----BEGIN" |
| |
| /** Post-encapsulation boundary marker */ |
| #define PEM_END "-----END" |
| |
| extern int pem_asn1 ( const void *data, size_t len, size_t offset, |
| struct asn1_cursor **cursor ); |
| |
| extern struct image_type pem_image_type __image_type ( PROBE_NORMAL ); |
| |
| #endif /* _IPXE_PEM_H */ |