| Constructor and Description |
|---|
KeyGetterImpl() |
| Modifier and Type | Method and Description |
|---|---|
KeyPair |
newAsycronKey() |
Key |
newSycronKey() |
KeyPair |
readRSAKeyPair(InputStream inPublicKey,
InputStream inPrivateKey) |
PrivateKey |
readRSAPrivateKey(InputStream in) |
PublicKey |
readRSAPublicKey(InputStream in) |
void |
setKeyGenerator(IQTIGKeyGenerator keyGenerator) |
void |
setKeyPairGenerator(IQTIGKeyPairGenerator keyPairGenerator) |
public KeyGetterImpl()
throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic Key newSycronKey()
newSycronKey in interface KeyGetterpublic KeyPair newAsycronKey()
newAsycronKey in interface KeyGetterpublic void setKeyGenerator(IQTIGKeyGenerator keyGenerator)
public void setKeyPairGenerator(IQTIGKeyPairGenerator keyPairGenerator)
public PublicKey readRSAPublicKey(InputStream in) throws IOException, org.apache.xml.security.exceptions.Base64DecodingException, InvalidKeyException
readRSAPublicKey in interface KeyGetterIOExceptionorg.apache.xml.security.exceptions.Base64DecodingExceptionInvalidKeyExceptionpublic PrivateKey readRSAPrivateKey(InputStream in) throws IOException, org.apache.xml.security.exceptions.Base64DecodingException, InvalidKeyException
readRSAPrivateKey in interface KeyGetterIOExceptionorg.apache.xml.security.exceptions.Base64DecodingExceptionInvalidKeyExceptionpublic KeyPair readRSAKeyPair(InputStream inPublicKey, InputStream inPrivateKey) throws IOException, InvalidKeyException, org.apache.xml.security.exceptions.Base64DecodingException
readRSAKeyPair in interface KeyGetterIOExceptionInvalidKeyExceptionorg.apache.xml.security.exceptions.Base64DecodingExceptionCopyright © 2017. All rights reserved.