public class KeyInformationExtractorBouncyCastle extends java.lang.Object implements KeyInformationExtractor
| Constructor and Description |
|---|
KeyInformationExtractorBouncyCastle() |
| 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
|
public java.lang.String getAlgorithm(java.security.Key key)
KeyInformationExtractorgetAlgorithm in interface KeyInformationExtractorkey - Key representing a private or public keyString with the name of the algorithmpublic java.lang.String getCurveID(java.security.Key key)
throws KeyNotSupportedException
KeyInformationExtractorgetCurveID in interface KeyInformationExtractorkey - Key representing a private or public keyString with the ID of the curveKeyNotSupportedExceptionpublic java.lang.String getQX(java.security.PublicKey publicKey)
throws KeyNotSupportedException
KeyInformationExtractorgetQX in interface KeyInformationExtractorpublicKey - PublicKey representing the public keyString with base 16 notated number representing the x
coordinateKeyNotSupportedExceptionpublic java.lang.String getQY(java.security.PublicKey publicKey)
throws KeyNotSupportedException
KeyInformationExtractorgetQY in interface KeyInformationExtractorpublicKey - PublicKey representing the public keyString with base 16 notated number representing the y
coordinateKeyNotSupportedExceptionCopyright © 2019. All Rights Reserved.