Electronic Certificate Verification

KOSTENLOS
Durch Oleg Sharov | Aktualisiert 한 달 전 | Cryptography
Health Check

N/A

README

Example function in Swift, how to get “base64EncodedCertificateData”:

import Foundation

func certificateToString(certificate: SecCertificate) - String {
return (SecCertificateCopyData(certificate) as Data).base64EncodedString()
}

Example function in C#, how to get “base64EncodedCertificateData”:

using System.Security.Cryptography.X509Certificates;

string certificateToString(X509Certificate2 certificate) {
byte[] dataToEncode = certificate.Export(X509ContentType.Cert);
return Convert.ToBase64String(dataToEncode);
}

Follower: 0
Ressourcen:
Nutzungsbedingungen
API-Ersteller:
Rapid account: Oleg Sharov
Oleg Sharov
TomJenkins
Melden Sie sich bei Rate API an
Bewertung: 5 - Stimmen: 1