abstract class PKCS (View source)

PKCS1 Formatted Key Handler

Constants

MODE_ANY

Auto-detect the format

MODE_PEM

Require base64-encoded PEM's be supplied

MODE_DER

Require raw DER's be supplied

Properties

static protected int $format Is the key a base-64 encoded PEM, DER or should it be auto-detected?

Methods

static 
requirePEM()

Require base64-encoded PEM's be supplied

static 
requireDER()

Require raw DER's be supplied

static 
requireAny()

Accept any format and auto detect the format

Details

static requirePEM()

Require base64-encoded PEM's be supplied

static requireDER()

Require raw DER's be supplied

static requireAny()

Accept any format and auto detect the format

This is the default setting