Package org.conscrypt
Class NativeRef
- java.lang.Object
-
- org.conscrypt.NativeRef
-
- Direct Known Subclasses:
NativeRef.EC_GROUP,NativeRef.EC_POINT,NativeRef.EVP_CIPHER_CTX,NativeRef.EVP_MD_CTX,NativeRef.EVP_PKEY,NativeRef.EVP_PKEY_CTX,NativeRef.HMAC_CTX,NativeRef.SSL_SESSION
abstract class NativeRef extends java.lang.ObjectUsed to hold onto native OpenSSL references and run finalization on those objects. Individual types must subclass this and implement finalizer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classNativeRef.EC_GROUP(package private) static classNativeRef.EC_POINT(package private) static classNativeRef.EVP_CIPHER_CTX(package private) static classNativeRef.EVP_MD_CTX(package private) static classNativeRef.EVP_PKEY(package private) static classNativeRef.EVP_PKEY_CTX(package private) static classNativeRef.HMAC_CTX(package private) static classNativeRef.SSL_SESSION
-
Field Summary
Fields Modifier and Type Field Description (package private) longaddress
-
Constructor Summary
Constructors Constructor Description NativeRef(long address)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) abstract voiddoFree(long context)booleanequals(java.lang.Object o)protected voidfinalize()inthashCode()
-
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
doFree
abstract void doFree(long context)
-
-