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

Package | com.hurlant.crypto.cert
Class | public class X509Certificate
Inheritance | X509Certificate Object

Public Methods

| Method | Defined By
--- | --- | ---
|  | X509Certificate(p:*) | X509Certificate
|  | getAlgorithmIdentifier():String | X509Certificate
|  | getCommonName():String | X509Certificate
|  | getIssuerPrincipal():String Returns an issuer principal, as an opaque base64 string. | X509Certificate
|  | getNotAfter():Date | X509Certificate
|  | getNotBefore():Date | X509Certificate
|  | getPublicKey():RSAKey | X509Certificate
|  | getSubjectPrincipal():String Returns a subject principal, as an opaque base64 string. | X509Certificate
|  | isSelfSigned(time:Date):Boolean | X509Certificate
|  | isSigned(store:X509CertificateCollection, CAs:X509CertificateCollection, time:Date = null):Boolean | X509Certificate

Constructor Detail

X509Certificate | () | Constructor

`public function X509Certificate(p:*)`

Parameters

| `p:*`

Method Detail

getAlgorithmIdentifier | () | method

`public function getAlgorithmIdentifier():String`

Returns

| `String`

getCommonName | () | method |

`public function getCommonName():String`

Returns

| `String`

getIssuerPrincipal | () | method |

`public function getIssuerPrincipal():String`

Returns an issuer principal, as an opaque base64 string. This is only used to quickly find matching parent certificates. Note that this assumes X509 DER-encoded certificates are uniquely encoded, as we look for exact matches between Issuer and Subject fields.

Returns

| `String`

getNotAfter | () | method |

`public function getNotAfter():Date`

Returns

| `Date`

getNotBefore | () | method |

`public function getNotBefore():Date`

Returns

| `Date`

getPublicKey | () | method |

`public function getPublicKey():RSAKey`

Returns

| `RSAKey`

getSubjectPrincipal | () | method |

`public function getSubjectPrincipal():String`

Returns a subject principal, as an opaque base64 string. This is only used as a hash key for known certificates. Note that this assumes X509 DER-encoded certificates are uniquely encoded, as we look for exact matches between Issuer and Subject fields.

Returns

| `String`

isSelfSigned | () | method |

`public function isSelfSigned(time:Date):Boolean`

Parameters

| `time:Date`

Returns

| `Boolean`

isSigned | () | method |

`public function isSigned(store:X509CertificateCollection, CAs:X509CertificateCollection, time:Date = null):Boolean`

Parameters

| `store:X509CertificateCollection`
| `CAs:X509CertificateCollection`
| `time:Date` (default = `null`)``

Returns

| `Boolean`

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