Android Reference
PrivateKeyTest.checkPrivateKey
org.apache.harmony.security.tests.java.security
Class PrivateKeyTest.checkPrivateKey
- java.lang.Object
-
- org.apache.harmony.security.tests.java.security.PrivateKeyTest.checkPrivateKey
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
String |
getAlgorithm()
Returns the name of the algorithm of this key.
|
byte[] |
getEncoded()
Returns the encoded form of this key, or null if encoding is not
supported by this key.
|
String |
getFormat()
Returns the name of the format used to encode this key, or null
if it can not be encoded.
|
long |
getSerVerUID() |
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
Description copied from interface: Key
Returns the name of the algorithm of this key. If the algorithm is
unknown, null
is returned.
- Specified by:
getAlgorithm
in interface Key
- Returns:
- the name of the algorithm of this key or
null
if the
algorithm is unknown.
-
getFormat
public String getFormat()
Description copied from interface: Key
Returns the name of the format used to encode this key, or null
if it can not be encoded.
- Specified by:
getFormat
in interface Key
- Returns:
- the name of the format used to encode this key, or
null
if it can not be encoded.
-
getEncoded
public byte[] getEncoded()
Description copied from interface: Key
Returns the encoded form of this key, or null
if encoding is not
supported by this key.
- Specified by:
getEncoded
in interface Key
- Returns:
- the encoded form of this key, or
null
if encoding is not
supported by this key.
Content
License.
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 664 / 158776967. Delta: 0.03448 с