![]() |
![]()
| ![]() |
![]()
NameOpenXPKI::Server::NICE::Local DescriptionThis module implements the OpenXPKI NICE Interface using the local crypto backend ConfigurationThe module does not require any configuration options but some advanced features can be enabled via the nice config item. Nice Parameters
API FunctionsissueCertificateIssues a certitficate, will autodetect the most current ca for the requested profile. Issuer can be enforced by passing the issuer alias as second parameter, the certificates validity will be tailored to fit into the CA validity window. Takes only the key information from the pkcs10 and requires subject, SAN and validity to be given as context parameters. renewCertificateCurrently only an alias for issueCertificate revokeCertificateSet the status field of the certificate table to "CRL_ISSUANCE_PENDING". If use_revocation_id is on, also sets the revocation_id to the next available serial. In case two revocations are processed at the same time the query will either wait for a database lock or the transaction will fail on commit depending on your database isolation level. checkForRevocationQueries the certifictes status from the local certificate datasbase. Returns 0 if the certificate is not revoked, for revoked certificates returns the value of revocation_id or 1 if use_revocation_id is off. issueCRLCreates a crl for the given ca and pushes it into the database for publication. Incremental CRLs are not supported. The first parameter must be the ca-alias, the second parameter is as hash with options:
generateKeySee OpenXPKI::Server::NICE::Role::KeyGenerationLocal fetchKeySee OpenXPKI::Server::NICE::Role::KeyInDataPool testConnectionnot implemented. returns undef.
|