#[repr(C)]pub struct DecodedCert {Show 63 fields
pub publicKey: *const byte,
pub pubKeySize: word32,
pub pubKeyStored: c_int,
pub certBegin: word32,
pub sigIndex: word32,
pub sigLength: word32,
pub signatureOID: word32,
pub keyOID: word32,
pub version: c_int,
pub altNames: *mut DNS_entry,
pub altEmailNames: *mut DNS_entry,
pub altDirNames: *mut DNS_entry,
pub permittedNames: *mut Base_entry,
pub excludedNames: *mut Base_entry,
pub subjectHash: [byte; 20],
pub issuerHash: [byte; 20],
pub signature: *const byte,
pub subjectCN: *mut c_char,
pub subjectCNLen: c_int,
pub subjectCNEnc: c_char,
pub issuer: [c_char; 256],
pub subject: [c_char; 256],
pub verify: c_int,
pub source: *const byte,
pub srcIdx: word32,
pub maxIdx: word32,
pub heap: *mut c_void,
pub serial: [byte; 32],
pub serialSz: c_int,
pub extensions: *const byte,
pub extensionsSz: c_int,
pub extensionsIdx: word32,
pub extAuthInfo: *const byte,
pub extAuthInfoSz: c_int,
pub extCrlInfoRaw: *const byte,
pub extCrlInfoRawSz: c_int,
pub extCrlInfo: *const byte,
pub extCrlInfoSz: c_int,
pub extSubjKeyId: [byte; 20],
pub extSubjKeyIdSz: word32,
pub extAuthKeyId: [byte; 20],
pub extAuthKeyIdSz: word32,
pub pathLength: byte,
pub maxPathLen: byte,
pub policyConstSkip: byte,
pub extKeyUsage: word16,
pub extExtKeyUsage: byte,
pub beforeDate: *const byte,
pub beforeDateLen: c_int,
pub afterDate: *const byte,
pub afterDateLen: c_int,
pub subjectRaw: *const byte,
pub subjectRawLen: c_int,
pub subjectEmail: *mut c_char,
pub subjectEmailLen: c_int,
pub nsCertType: byte,
pub ca: *mut Signer,
pub sigCtx: SignatureCtx,
pub badDate: c_int,
pub criticalExt: c_int,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
pub __bindgen_padding_0: u32,
}Fields§
§publicKey: *const byte§pubKeySize: word32§pubKeyStored: c_int§certBegin: word32§sigIndex: word32§sigLength: word32§signatureOID: word32§keyOID: word32§version: c_int§altNames: *mut DNS_entry§altEmailNames: *mut DNS_entry§altDirNames: *mut DNS_entry§permittedNames: *mut Base_entry§excludedNames: *mut Base_entry§subjectHash: [byte; 20]§issuerHash: [byte; 20]§signature: *const byte§subjectCN: *mut c_char§subjectCNLen: c_int§subjectCNEnc: c_char§issuer: [c_char; 256]§subject: [c_char; 256]§verify: c_int§source: *const byte§srcIdx: word32§maxIdx: word32§heap: *mut c_void§serial: [byte; 32]§serialSz: c_int§extensions: *const byte§extensionsSz: c_int§extensionsIdx: word32§extAuthInfo: *const byte§extAuthInfoSz: c_int§extCrlInfoRaw: *const byte§extCrlInfoRawSz: c_int§extCrlInfo: *const byte§extCrlInfoSz: c_int§extSubjKeyId: [byte; 20]§extSubjKeyIdSz: word32§extAuthKeyId: [byte; 20]§extAuthKeyIdSz: word32§pathLength: byte§maxPathLen: byte§policyConstSkip: byte§extKeyUsage: word16§extExtKeyUsage: byte§beforeDate: *const byte§beforeDateLen: c_int§afterDate: *const byte§afterDateLen: c_int§subjectRaw: *const byte§subjectRawLen: c_int§subjectEmail: *mut c_char§subjectEmailLen: c_int§nsCertType: byte§ca: *mut Signer§sigCtx: SignatureCtx§badDate: c_int§criticalExt: c_int§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§__bindgen_padding_0: u32Implementations§
Source§impl DecodedCert
impl DecodedCert
pub fn subjectCNStored(&self) -> byte
pub fn set_subjectCNStored(&mut self, val: byte)
pub fn extSubjKeyIdSet(&self) -> byte
pub fn set_extSubjKeyIdSet(&mut self, val: byte)
pub fn extAuthKeyIdSet(&self) -> byte
pub fn set_extAuthKeyIdSet(&mut self, val: byte)
pub fn extNameConstraintSet(&self) -> byte
pub fn set_extNameConstraintSet(&mut self, val: byte)
pub fn isCA(&self) -> byte
pub fn set_isCA(&mut self, val: byte)
pub fn pathLengthSet(&self) -> byte
pub fn set_pathLengthSet(&mut self, val: byte)
pub fn weOwnAltNames(&self) -> byte
pub fn set_weOwnAltNames(&mut self, val: byte)
pub fn extKeyUsageSet(&self) -> byte
pub fn set_extKeyUsageSet(&mut self, val: byte)
pub fn extExtKeyUsageSet(&self) -> byte
pub fn set_extExtKeyUsageSet(&mut self, val: byte)
pub fn extCRLdistSet(&self) -> byte
pub fn set_extCRLdistSet(&mut self, val: byte)
pub fn extAuthInfoSet(&self) -> byte
pub fn set_extAuthInfoSet(&mut self, val: byte)
pub fn extBasicConstSet(&self) -> byte
pub fn set_extBasicConstSet(&mut self, val: byte)
pub fn extPolicyConstSet(&self) -> byte
pub fn set_extPolicyConstSet(&mut self, val: byte)
pub fn extPolicyConstRxpSet(&self) -> byte
pub fn set_extPolicyConstRxpSet(&mut self, val: byte)
pub fn extPolicyConstIpmSet(&self) -> byte
pub fn set_extPolicyConstIpmSet(&mut self, val: byte)
pub fn extSubjAltNameSet(&self) -> byte
pub fn set_extSubjAltNameSet(&mut self, val: byte)
pub fn inhibitAnyOidSet(&self) -> byte
pub fn set_inhibitAnyOidSet(&mut self, val: byte)
pub fn selfSigned(&self) -> byte
pub fn set_selfSigned(&mut self, val: byte)
pub fn extCRLdistCrit(&self) -> byte
pub fn set_extCRLdistCrit(&mut self, val: byte)
pub fn extAuthInfoCrit(&self) -> byte
pub fn set_extAuthInfoCrit(&mut self, val: byte)
pub fn extBasicConstCrit(&self) -> byte
pub fn set_extBasicConstCrit(&mut self, val: byte)
pub fn extPolicyConstCrit(&self) -> byte
pub fn set_extPolicyConstCrit(&mut self, val: byte)
pub fn extSubjAltNameCrit(&self) -> byte
pub fn set_extSubjAltNameCrit(&mut self, val: byte)
pub fn extAuthKeyIdCrit(&self) -> byte
pub fn set_extAuthKeyIdCrit(&mut self, val: byte)
pub fn extNameConstraintCrit(&self) -> byte
pub fn set_extNameConstraintCrit(&mut self, val: byte)
pub fn extSubjKeyIdCrit(&self) -> byte
pub fn set_extSubjKeyIdCrit(&mut self, val: byte)
pub fn extKeyUsageCrit(&self) -> byte
pub fn set_extKeyUsageCrit(&mut self, val: byte)
pub fn extExtKeyUsageCrit(&self) -> byte
pub fn set_extExtKeyUsageCrit(&mut self, val: byte)
pub fn new_bitfield_1( subjectCNStored: byte, extSubjKeyIdSet: byte, extAuthKeyIdSet: byte, extNameConstraintSet: byte, isCA: byte, pathLengthSet: byte, weOwnAltNames: byte, extKeyUsageSet: byte, extExtKeyUsageSet: byte, extCRLdistSet: byte, extAuthInfoSet: byte, extBasicConstSet: byte, extPolicyConstSet: byte, extPolicyConstRxpSet: byte, extPolicyConstIpmSet: byte, extSubjAltNameSet: byte, inhibitAnyOidSet: byte, selfSigned: byte, extCRLdistCrit: byte, extAuthInfoCrit: byte, extBasicConstCrit: byte, extPolicyConstCrit: byte, extSubjAltNameCrit: byte, extAuthKeyIdCrit: byte, extNameConstraintCrit: byte, extSubjKeyIdCrit: byte, extKeyUsageCrit: byte, extExtKeyUsageCrit: byte, ) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations§
Source§impl Clone for DecodedCert
impl Clone for DecodedCert
Source§fn clone(&self) -> DecodedCert
fn clone(&self) -> DecodedCert
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecodedCert
Auto Trait Implementations§
impl Freeze for DecodedCert
impl RefUnwindSafe for DecodedCert
impl !Send for DecodedCert
impl !Sync for DecodedCert
impl Unpin for DecodedCert
impl UnwindSafe for DecodedCert
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more