return the type of a given privatekey object . this is an integer that maps to one of the values defined by org.chromium.net.privatekeytype , which is itself auto-generated from net/android/private _ key_type_list . h concode_field_sep String TAG concode_field_sep byte[] getDSAKeyParamQ concode_elem_sep byte[] getPrivateKeyEncodedBytes concode_elem_sep int getOpenSSLHandleForPrivateKey concode_elem_sep byte[] getRSAKeyModulus concode_elem_sep byte[] rawSignDigestWithPrivateKey concode_elem_sep byte[] getECKeyOrder
int function ( PrivateKey arg0 ) { if ( arg0 instanceof RSAPrivateKey ) return PrivateKeyType . RSA ; if ( arg0 instanceof DSAPrivateKey ) return PrivateKeyType . DSA ; if ( arg0 instanceof ECPrivateKey ) return PrivateKeyType . ECDSA ; else return PrivateKeyType . INVALID ; }