public interface KeyInformationExtractor
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAlgorithm(java.security.Key key)
returns the name of the algorithm the key will be used for
|
java.lang.String |
getCurveID(java.security.Key key)
returns the ID of the elliptic curve the key will be used for
|
java.lang.String |
getQX(java.security.PublicKey publicKey)
returns the x coordinate of the public point Q (also named W) of the public
key
|
java.lang.String |
getQY(java.security.PublicKey publicKey)
returns the y coordinate of the public point Q (also named W) of the public
key
|
java.lang.String getAlgorithm(java.security.Key key)
key - Key representing a private or public keyString with the name of the algorithmjava.lang.String getCurveID(java.security.Key key)
throws KeyNotSupportedException
key - Key representing a private or public keyString with the ID of the curveKeyNotSupportedExceptionjava.lang.String getQX(java.security.PublicKey publicKey)
throws KeyNotSupportedException
publicKey - PublicKey representing the public keyString with base 16 notated number representing the x
coordinateKeyNotSupportedExceptionjava.lang.String getQY(java.security.PublicKey publicKey)
throws KeyNotSupportedException
publicKey - PublicKey representing the public keyString with base 16 notated number representing the y
coordinateKeyNotSupportedExceptionCopyright © 2019. All Rights Reserved.