Package org.iqtig.crypto.key.impl
Klasse KeyGetterImpl
java.lang.Object
org.iqtig.crypto.key.impl.KeyGetterImpl
- Alle implementierten Schnittstellen:
KeyGetter
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungreadRSAKeyPair(InputStream inPublicKey, InputStream inPrivateKey)
-
Konstruktordetails
-
KeyGetterImpl
- Löst aus:
NoSuchAlgorithmException
-
-
Methodendetails
-
newSymmetricKey
- Angegeben von:
newSymmetricKeyin SchnittstelleKeyGetter
-
newAsymmetricKey
- Angegeben von:
newAsymmetricKeyin SchnittstelleKeyGetter
-
readRSAKeyPair
public KeyPair readRSAKeyPair(InputStream inPublicKey, InputStream inPrivateKey) throws IOException, InvalidKeySpecException, NoSuchAlgorithmException, org.apache.xml.security.exceptions.Base64DecodingException - Angegeben von:
readRSAKeyPairin SchnittstelleKeyGetter- Löst aus:
IOExceptionInvalidKeySpecExceptionNoSuchAlgorithmExceptionorg.apache.xml.security.exceptions.Base64DecodingException
-
readRSAPublicKey
public PublicKey readRSAPublicKey(InputStream in) throws IOException, org.apache.xml.security.exceptions.Base64DecodingException, NoSuchAlgorithmException, InvalidKeySpecException - Angegeben von:
readRSAPublicKeyin SchnittstelleKeyGetter- Löst aus:
IOExceptionorg.apache.xml.security.exceptions.Base64DecodingExceptionNoSuchAlgorithmExceptionInvalidKeySpecException
-
readRSAPrivateKey
public PrivateKey readRSAPrivateKey(InputStream in) throws IOException, org.apache.xml.security.exceptions.Base64DecodingException, NoSuchAlgorithmException, InvalidKeySpecException - Angegeben von:
readRSAPrivateKeyin SchnittstelleKeyGetter- Löst aus:
IOExceptionorg.apache.xml.security.exceptions.Base64DecodingExceptionNoSuchAlgorithmExceptionInvalidKeySpecException
-