X509_get0_tbs_sigalg function
- @RecordUse.new()
- @Native<Pointer<
X509_ALGOR> Function(Pointer<X509> x509)>(ffi.Pointer<X509>)>(symbol: 'bssl_dart_X509_get0_tbs_sigalg')
X509_get0_tbs_sigalg returns the signature algorithm in |x509|'s TBSCertificate. For the outer signature algorithm, see |X509_get0_signature|.
Certificates with mismatched signature algorithms will successfully parse, but they will be rejected when verifying.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Pointer<X509_ALGOR> Function(ffi.Pointer<X509>)>(
symbol: 'bssl_dart_X509_get0_tbs_sigalg',
)
external ffi.Pointer<X509_ALGOR> X509_get0_tbs_sigalg(
ffi.Pointer<X509> x509,
);