Home
last modified time | relevance | path

Searched refs:encodedByte (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/
H A Dcertificate.h32 CfResult (*getEncoded)(HcfCertificate *self, CfEncodingBlob *encodedByte);
/ohos5.0/base/security/certificate_framework/frameworks/core/v1.0/certificate/
H A Dx509_crl.c129 static CfResult GetEncoded(HcfX509Crl *self, CfEncodingBlob *encodedByte) in GetEncoded() argument
131 if ((self == NULL) || (encodedByte == NULL)) { in GetEncoded()
140 ((HcfX509CrlImpl *)self)->spiObj, encodedByte); in GetEncoded()
H A Dx509_certificate.c92 static CfResult GetEncoded(HcfCertificate *self, CfEncodingBlob *encodedByte) in GetEncoded() argument
94 if ((self == NULL) || (encodedByte == NULL)) { in GetEncoded()
103 ((HcfX509CertificateImpl *)self)->spiObj, encodedByte); in GetEncoded()
/ohos5.0/base/security/certificate_framework/frameworks/core/v1.0/spi/
H A Dx509_crl_spi.h37 CfResult (*engineGetEncoded)(HcfX509CrlSpi *self, CfEncodingBlob *encodedByte);
H A Dx509_certificate_spi.h32 CfResult (*engineGetEncoded)(HcfX509CertificateSpi *self, CfEncodingBlob *encodedByte);
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_certificate_openssl.c169 static CfResult GetEncodedX509Openssl(HcfX509CertificateSpi *self, CfEncodingBlob *encodedByte) in GetEncodedX509Openssl() argument
171 if ((self == NULL) || (encodedByte == NULL)) { in GetEncodedX509Openssl()
189 encodedByte->data = (uint8_t *)CfMalloc(length, 0); in GetEncodedX509Openssl()
190 if (encodedByte->data == NULL) { in GetEncodedX509Openssl()
195 (void)memcpy_s(encodedByte->data, length, der, length); in GetEncodedX509Openssl()
197 encodedByte->len = length; in GetEncodedX509Openssl()
198 encodedByte->encodingFormat = CF_FORMAT_DER; in GetEncodedX509Openssl()
H A Dx509_cert_chain_openssl.c447 CfEncodingBlob encodedByte = { NULL, 0, CF_FORMAT_DER }; in CopyHcfX509TrustAnchor() local
448 CACert->base.getEncoded((HcfCertificate *)CACert, &encodedByte); in CopyHcfX509TrustAnchor()
449 res = HcfX509CertificateCreate(&encodedByte, &outAnchor->CACert); in CopyHcfX509TrustAnchor()
452 CfFree(encodedByte.data); in CopyHcfX509TrustAnchor()
455 CfFree(encodedByte.data); in CopyHcfX509TrustAnchor()