/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#isDestroyed() */ public boolean isDestroyed() { return refCnt() == 0; }
@Override public int refCnt() { return OpenSslPrivateKey.this.refCnt(); } }
@Override public int refCnt() { return OpenSslPrivateKey.this.refCnt(); } }
/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#isDestroyed() */ public boolean isDestroyed() { return refCnt() == 0; }
/** * Returns the pointer to the {@code EVP_PKEY}. */ long privateKeyAddress() { if (refCnt() <= 0) { throw new IllegalReferenceCountException(); } return privateKeyAddress; }
/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#destroy() */ public void destroy() { release(refCnt()); }
/** * Returns the pointer to the {@code EVP_PKEY}. */ long privateKeyAddress() { if (refCnt() <= 0) { throw new IllegalReferenceCountException(); } return privateKeyAddress; }
/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#destroy() */ public void destroy() { release(refCnt()); }
/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#isDestroyed() */ public boolean isDestroyed() { return refCnt() == 0; }
@Override public int refCnt() { return OpenSslPrivateKey.this.refCnt(); } }
/** * NOTE: This is a JDK8 interface/method. Due to backwards compatibility * reasons it's not possible to slap the {@code @Override} annotation onto * this method. * * @see Destroyable#destroy() */ public void destroy() { release(refCnt()); }
/** * Returns the pointer to the {@code EVP_PKEY}. */ long privateKeyAddress() { if (refCnt() <= 0) { throw new IllegalReferenceCountException(); } return privateKeyAddress; }