1 19 20 package com.sslexplorer.security.pki; 21 22 import java.security.PrivateKey ; 23 24 25 30 public abstract class SshPrivateKey { 31 34 public SshPrivateKey() { 35 } 36 37 38 public abstract PrivateKey getPrivateKey(); 39 40 45 public abstract String getAlgorithmName(); 46 47 52 public abstract int getBitLength(); 53 54 59 public abstract byte[] getEncoded(); 60 61 66 public abstract SshPublicKey getPublicKey(); 67 68 75 public abstract byte[] generateSignature(byte[] data) 76 throws InvalidSignatureException; 77 } 78 | Popular Tags |