Trait openssl::types::OpenSslType
[−]
[src]
pub trait OpenSslType where
<Self::Ref as ForeignTypeRef>::CType == Self::CType, {
type CType;
type Ref: ForeignTypeRef;
unsafe fn from_ptr(ptr: *mut Self::CType) -> Self;
fn as_ptr(&self) -> *mut Self::CType;
}
A type implemented by wrappers over foreign types.
Associated Types
Required Methods
unsafe fn from_ptr(ptr: *mut Self::CType) -> Self
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut Self::CType
Returns a raw pointer to the wrapped value.
Implementors
impl ForeignType for Asn1GeneralizedTime type CType = ASN1_GENERALIZEDTIME; type Ref = Asn1GeneralizedTimeRef;
impl ForeignType for Asn1Time type CType = ASN1_TIME; type Ref = Asn1TimeRef;
impl ForeignType for Asn1String type CType = ASN1_STRING; type Ref = Asn1StringRef;
impl ForeignType for Asn1Integer type CType = ASN1_INTEGER; type Ref = Asn1IntegerRef;
impl ForeignType for Asn1BitString type CType = ASN1_BIT_STRING; type Ref = Asn1BitStringRef;
impl ForeignType for Asn1Object type CType = ASN1_OBJECT; type Ref = Asn1ObjectRef;
impl ForeignType for BigNumContext type CType = BN_CTX; type Ref = BigNumContextRef;
impl ForeignType for BigNum type CType = BIGNUM; type Ref = BigNumRef;
impl ForeignType for CmsContentInfo type CType = CMS_ContentInfo; type Ref = CmsContentInfoRef;
impl ForeignType for Conf type CType = CONF; type Ref = ConfRef;
impl ForeignType for Dh type CType = DH; type Ref = DhRef;
impl ForeignType for Dsa type CType = DSA; type Ref = DsaRef;
impl ForeignType for EcGroup type CType = EC_GROUP; type Ref = EcGroupRef;
impl ForeignType for EcPoint type CType = EC_POINT; type Ref = EcPointRef;
impl ForeignType for EcKey type CType = EC_KEY; type Ref = EcKeyRef;
impl ForeignType for EcKeyBuilder type CType = EC_KEY; type Ref = EcKeyBuilderRef;
impl ForeignType for OcspBasicResponse type CType = OCSP_BASICRESP; type Ref = OcspBasicResponseRef;
impl ForeignType for OcspCertId type CType = OCSP_CERTID; type Ref = OcspCertIdRef;
impl ForeignType for OcspResponse type CType = OCSP_RESPONSE; type Ref = OcspResponseRef;
impl ForeignType for OcspRequest type CType = OCSP_REQUEST; type Ref = OcspRequestRef;
impl ForeignType for OcspOneReq type CType = OCSP_ONEREQ; type Ref = OcspOneReqRef;
impl ForeignType for Pkcs12 type CType = PKCS12; type Ref = Pkcs12Ref;
impl ForeignType for PKey type CType = EVP_PKEY; type Ref = PKeyRef;
impl ForeignType for PKeyCtx type CType = EVP_PKEY_CTX; type Ref = PKeyCtxRef;
impl ForeignType for Rsa type CType = RSA; type Ref = RsaRef;
impl ForeignType for SslContext type CType = SSL_CTX; type Ref = SslContextRef;
impl ForeignType for SslCipher type CType = SSL_CIPHER; type Ref = SslCipherRef;
impl ForeignType for SslSession type CType = SSL_SESSION; type Ref = SslSessionRef;
impl ForeignType for Ssl type CType = SSL; type Ref = SslRef;
impl<T: Stackable> ForeignType for Stack<T> type CType = T::StackType; type Ref = StackRef<T>;
impl ForeignType for OpensslString type CType = c_char; type Ref = OpensslStringRef;
impl ForeignType for X509StoreBuilder type CType = X509_STORE; type Ref = X509StoreBuilderRef;
impl ForeignType for X509Store type CType = X509_STORE; type Ref = X509StoreRef;
impl ForeignType for X509StoreContext type CType = X509_STORE_CTX; type Ref = X509StoreContextRef;
impl ForeignType for X509 type CType = X509; type Ref = X509Ref;
impl ForeignType for X509Extension type CType = X509_EXTENSION; type Ref = X509ExtensionRef;
impl ForeignType for X509Name type CType = X509_NAME; type Ref = X509NameRef;
impl ForeignType for X509NameEntry type CType = X509_NAME_ENTRY; type Ref = X509NameEntryRef;
impl ForeignType for X509Req type CType = X509_REQ; type Ref = X509ReqRef;
impl ForeignType for GeneralName type CType = GENERAL_NAME; type Ref = GeneralNameRef;
impl ForeignType for X509Algorithm type CType = X509_ALGOR; type Ref = X509AlgorithmRef;