CRL is an opaque object that represents Certificate Revocation
List.
ModuleHsOpenSSL-0.11.7.10Haskell2010
OpenSSL.X509.Revocation
An interface to Certificate Revocation List.
- 3 types
- 18 values
- PackageHsOpenSSL-0.11.7.10
- Exports21
- LanguageHaskell2010
- LicenceLicenseRef-PublicDomain
- SourceRevocation.hsc
Types
3 declarationsRevokedCertificate represents a revoked certificate in a
list. Each certificates are supposed to be distinguishable by
issuer name and serial number, so it is sufficient to have only
serial number on each entries.
Constructors
Instances2Eq, Show
Eq RevokedCertificateDefined in HsOpenSSL-0.11.7.10 · OpenSSL.X509.RevocationShow RevokedCertificateDefined in HsOpenSSL-0.11.7.10 · OpenSSL.X509.Revocation
Functions to manipulate revocation list
7 declarationsnewCRL creates an empty revocation list. You must set the
following properties to and sign it (see signCRL) to actually use
the revocation list. If you have any certificates to be listed, you
must of course add them (see addRevoked) before signing the list.
- Version
See
.
- Last Update
See
.
- Next Update
See
.
- Issuer Name
See
.
signCRL signCRL signs a revocation list with an issuer private key.
verifyCRL verifies a signature of revocation list with an
issuer public key.
printCRL translates a revocation list into human-readable
format.
sortCRL crl sorts the certificates in the revocation list.
Accessors
11 declarationsgetVersion crl returns the version number of revocation list.
setVersion crl ver updates the version number of revocation
list.
getLastUpdate crl returns the time when the revocation list
has last been updated.
setLastUpdate crl utc updates the time when the revocation
list has last been updated.
getNextUpdate crl returns the time when the revocation list
will next be updated.
setNextUpdate crl utc updates the time when the revocation
list will next be updated.
getIssuerName crl wantLongName returns the issuer name of
revocation list. See getIssuerName of
OpenSSL.X509.
setIssuerName crl name updates the issuer name of revocation
list. See setIssuerName of OpenSSL.X509.
getRevokedList crl returns the list of revoked certificates.
addRevoked crl revoked add the certificate to the revocation
list.
getRevoked crl serial looks up the corresponding revocation.