|
OpcUa_StatusCode | UaBase_PkiCertificate_Create (OpcUa_PkiCertificate **a_ppCertificate, OpcUa_PkiCertificateInfo a_certificateInfo, OpcUa_PkiIdentity a_subject, OpcUa_PkiRsaKeyPair a_subjectKeyPair, OpcUa_PkiIdentity a_issuer, OpcUa_PkiRsaKeyPair a_issuerKeyPair, OpcUa_X509SignatureAlgorithm a_signatureAlgorithm) |
| Creates a new certificate. More...
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_Delete (OpcUa_PkiCertificate **a_ppCertificate) |
| Deletes a certificate and frees it's memory. More...
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_ToDERFile (OpcUa_PkiCertificate *a_pCertificate, const OpcUa_CharA *a_sFile) |
| Writes the certificate to the given file. More...
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_FromDER (OpcUa_ByteString *a_bsDER, OpcUa_PkiCertificate **a_ppCertificate) |
| Gets a certificate from DER encoded ByteString. More...
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_HasExtension (OpcUa_PkiCertificate *a_pCertificate, OpcUa_X509Extension a_extension, OpcUa_Boolean *a_pExtensionExists) |
| Check if certificate has extension. More...
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_GetExtension (OpcUa_PkiCertificate *a_pCertificate, OpcUa_X509Extension a_extension, OpcUa_String *a_pExtensionValue) |
| Get extension from certificate. More...
|
|
int | UaBase_PkiCertificate_Compare (OpcUa_PkiCertificate *a_pCertificateA, OpcUa_PkiCertificate *a_pCertificateB) |
| Compare two certificates.
|
|
OpcUa_X509SignatureAlgorithm | UaBase_PkiCertificate_GetSignatureAlgorithm (OpcUa_PkiCertificate *a_pCertificate) |
| Get the algorithm used for signing the certificate.
|
|
OpcUa_Int32 | UaBase_PkiCertificate_GetKeyLength (OpcUa_PkiCertificate *a_pCertificate) |
| Get the key length of the key pair associated with the certificate.
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_GetKey (OpcUa_PkiCertificate *a_pCertificate, EVP_PKEY **a_pKey) |
| Get the key associated with the certificate.
|
|
OpcUa_Boolean | UaBase_PkiCertificate_IsSelfSigned (OpcUa_PkiCertificate *a_pCertificate) |
| Check if the certificate is self-signed.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_FromCertificate (OpcUa_PkiCSR **a_ppCSR, OpcUa_PkiCertificate *a_pCertificate, OpcUa_PkiRsaKeyPair *a_pSubjectPrivateKey) |
| Create CSR based on a certificate.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_Create (OpcUa_PkiCSR **a_ppCSR, OpcUa_PkiCertificateInfo a_certificateInfo, OpcUa_PkiIdentity a_subject, OpcUa_PkiRsaKeyPair a_subjectKeyPair, OpcUa_Boolean a_bCACert) |
| Create a new CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_Delete (OpcUa_PkiCSR **a_ppCSR) |
| Delete a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCertificate_FromCSR (OpcUa_PkiCertificate **a_ppCertificate, OpcUa_PkiCSR *a_pCSR, OpcUa_PkiCertificate *a_pIssuerCertificate, OpcUa_PkiRsaKeyPair *a_pIssuerKeyPair, long a_validTime, long a_serialNumber) |
| Create a certificate based on a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_SetSubjectName (OpcUa_PkiCSR *a_pCSR, OpcUa_String *a_pSubjectName, OpcUa_PkiRsaKeyPair *a_pSubjectPrivateKey) |
| Set the SubjectName of a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_SetKey (OpcUa_PkiCSR *a_pCSR, OpcUa_PkiRsaKeyPair *a_pSubjectPrivateKey) |
| Set the key of a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_ToDER (OpcUa_PkiCSR *a_pCSR, OpcUa_ByteString *a_pDER) |
| Convert a CSR to a DER blob.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_ToDERFile (OpcUa_PkiCSR *a_pCSR, const OpcUa_CharA *a_sFile) |
| Write a CSR to a DER file.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_FromDER (OpcUa_ByteString *a_bsDER, OpcUa_PkiCSR **a_ppCSR) |
| Convert DER blob to a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiCSR_FromDERFile (const OpcUa_CharA *a_sFile, OpcUa_PkiCSR **a_ppCSR) |
| Convert DER file to a CSR.
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_Create (OpcUa_PkiRsaKeyPair **a_ppKeyPair, OpcUa_Int32 a_iBits) |
| Creates a new key pair. More...
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_Delete (OpcUa_PkiRsaKeyPair **a_ppKeyPair) |
| Deletes a key pair and frees it's memory. More...
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_ToPEMFile (OpcUa_PkiRsaKeyPair *a_pKeyPair, const OpcUa_CharA *a_sFile) |
| Writes the key pair to the given file. More...
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_FromPEM (OpcUa_ByteString *a_pData, OpcUa_PkiRsaKeyPair **a_ppKeyPair) |
| Get a RSA key pair from PEM encoded blob.
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_GetLength (OpcUa_PkiRsaKeyPair *a_pKeyPair, OpcUa_Int32 *a_piBits) |
| Get the key length in bits.
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_ToDER (OpcUa_PkiRsaKeyPair *a_pKeyPair, OpcUa_ByteString *a_pDER) |
| Convert a RSA key pair to a DER blob.
|
|
OpcUa_StatusCode | UaBase_PkiRsaKeyPair_FromDER (OpcUa_ByteString *a_pData, OpcUa_PkiRsaKeyPair **a_ppKeyPair) |
| Get a RSA key pair from a DER blob.
|
|
OpcUa_StatusCode | UaBase_PkiCRL_Create (OpcUa_PkiCRL **a_ppCRL, OpcUa_UInt64 a_uValidity, OpcUa_PkiIdentity a_issuer, OpcUa_UInt64 a_uCrlNumber) |
| Creates a new Certificate Revocation List. More...
|
|
OpcUa_StatusCode | UaBase_PkiCRL_Delete (OpcUa_PkiCRL **a_ppCRL) |
| Deletes a Certificate Revocation List and frees it's memory. More...
|
|
OpcUa_StatusCode | UaBase_PkiCRL_AddRevoked (OpcUa_PkiCRL *a_pCRL, OpcUa_PkiCertificate a_certificate, OpcUa_DateTime a_revocationDate) |
| Adds a certificate to the Certificate Revocation List. More...
|
|
OpcUa_StatusCode | UaBase_PkiCRL_Sign (OpcUa_PkiCRL *a_pCRL, OpcUa_PkiRsaKeyPair a_issuerKeyPair) |
| Signs a Certificate Revocation List. More...
|
|
OpcUa_Boolean | UaBase_PkiCRL_Verify (OpcUa_PkiCRL *a_pCRL, EVP_PKEY *a_pKey) |
| Checks signature of Certificate Revocation List.
|
|
OpcUa_StatusCode | UaBase_PkiCRL_ToPEMFile (OpcUa_PkiCRL *a_pCRL, OpcUa_StringA a_sFile) |
| Writes the Certificate Revocation List to the given file. More...
|
|
OpcUa_StatusCode | UaBase_PkiCRL_FromDER (OpcUa_ByteString *a_bsDER, OpcUa_PkiCRL **a_ppCRL) |
| Get Certificate Revocation List from DER encoded ByteString. More...
|
|
OpcUa_StatusCode | UaBase_Pki_CheckKeyPair (OpcUa_ByteString *a_pCertificate, OpcUa_Key *a_pPrivateKey) |
| Check if a private key matches a certificate. More...
|
|