ActionScript 3 Cryptography Library | All Packages | All Classes | Index | Frames No Frames |
PEM

Package | com.hurlant.util.der
Class | public class PEM
Inheritance | PEM Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | readCertIntoArray(str:String):ByteArray [static] | PEM
|  | readRSAPrivateKey(str:String):RSAKey [static] Read a structure encoded according to ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc section 11.1.2 | PEM
|  | readRSAPublicKey(str:String):RSAKey [static] Read a structure encoded according to some spec somewhere Also, follows some chunk from ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc section 11.1 | PEM

Method Detail

readCertIntoArray | () | method

`public static function readCertIntoArray(str:String):ByteArray`

Parameters

| `str:String`

Returns

| `ByteArray`

readRSAPrivateKey | () | method |

`public static function readRSAPrivateKey(str:String):RSAKey`

Read a structure encoded according to ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc section 11.1.2

Parameters

| `str:String`

Returns

| `RSAKey` —

readRSAPublicKey | () | method |

`public static function readRSAPublicKey(str:String):RSAKey`

Read a structure encoded according to some spec somewhere Also, follows some chunk from ftp://ftp.rsasecurity.com/pub/pkcs/ascii/pkcs-1v2.asc section 11.1

Parameters

| `str:String`

Returns

| `RSAKey` —

Mon May 20 2013, 09:16 PM +02:00