@Override
    public byte[] getId() {
        if (id == null) {
            synchronized (ssl) {
                id = ssl.getSessionId();
            }
        }
        return id != null ? id.clone() : EmptyArray.BYTE;
    }
A session that is dedicated a single connection and operates directly on the underlying
{@code SSL}.
common/src/main/java/org/conscrypt/ActiveSession.java