Class SubstituteSecurityUtils
- java.lang.Object
-
- org.apache.camel.quarkus.component.ssh.runtime.SubstituteSecurityUtils
-
final class SubstituteSecurityUtils extends Object
We're substituting those offending methods that would require the presence of net.i2p.crypto:eddsa library which is not supported by Camel SSH component
-
-
Constructor Summary
Constructors Constructor Description SubstituteSecurityUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancompareEDDSAPPublicKeys(PublicKey k1, PublicKey k2)static booleancompareEDDSAPrivateKeys(PrivateKey k1, PrivateKey k2)static PublicKeygenerateEDDSAPublicKey(String keyType, byte[] seed)static org.apache.sshd.common.signature.SignaturegetEDDSASigner()static <B extends org.apache.sshd.common.util.buffer.Buffer>
BputRawEDDSAPublicKey(B buffer, PublicKey key)static PublicKeyrecoverEDDSAPublicKey(PrivateKey key)
-
-
-
Method Detail
-
compareEDDSAPrivateKeys
public static boolean compareEDDSAPrivateKeys(PrivateKey k1, PrivateKey k2)
-
generateEDDSAPublicKey
public static PublicKey generateEDDSAPublicKey(String keyType, byte[] seed) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
getEDDSASigner
public static org.apache.sshd.common.signature.Signature getEDDSASigner()
-
putRawEDDSAPublicKey
public static <B extends org.apache.sshd.common.util.buffer.Buffer> B putRawEDDSAPublicKey(B buffer, PublicKey key)
-
recoverEDDSAPublicKey
public static PublicKey recoverEDDSAPublicKey(PrivateKey key) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-