Class SshX509DsaPublicKeyRfc6187

java.lang.Object
com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey
com.sshtools.common.ssh.x509.SshX509DsaPublicKeyRfc6187
All Implemented Interfaces:
com.sshtools.common.ssh.components.Component, com.sshtools.common.ssh.components.SshDsaPublicKey, com.sshtools.common.ssh.components.SshPublicKey, com.sshtools.common.ssh.components.SshX509PublicKey, com.sshtools.common.ssh.SecureComponent

public class SshX509DsaPublicKeyRfc6187 extends com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey implements com.sshtools.common.ssh.components.SshX509PublicKey
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey

    com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey.Ssh2DsaPublicKeyFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey

    pubkey
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    byte[]
     
    com.sshtools.common.ssh.components.SshPublicKey
    init(byte[] blob, int start, int len)
     

    Methods inherited from class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey

    equals, getBitLength, getEncodingAlgorithm, getFingerprint, getG, getJCEPublicKey, getP, getPriority, getQ, getSecurityLevel, getSigningAlgorithm, getY, hashCode, test, verifySignature

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.sshtools.common.ssh.components.SshPublicKey

    init, isCertificate
  • Field Details

  • Constructor Details

    • SshX509DsaPublicKeyRfc6187

      public SshX509DsaPublicKeyRfc6187()
    • SshX509DsaPublicKeyRfc6187

      public SshX509DsaPublicKeyRfc6187(Certificate[] chain)
  • Method Details

    • init

      public com.sshtools.common.ssh.components.SshPublicKey init(byte[] blob, int start, int len) throws com.sshtools.common.ssh.SshException
      Specified by:
      init in interface com.sshtools.common.ssh.components.SshPublicKey
      Overrides:
      init in class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey
      Throws:
      com.sshtools.common.ssh.SshException
    • getCertificate

      public Certificate getCertificate()
      Specified by:
      getCertificate in interface com.sshtools.common.ssh.components.SshX509PublicKey
    • getCertificateChain

      public Certificate[] getCertificateChain()
      Specified by:
      getCertificateChain in interface com.sshtools.common.ssh.components.SshX509PublicKey
    • getAlgorithm

      public String getAlgorithm()
      Specified by:
      getAlgorithm in interface com.sshtools.common.ssh.SecureComponent
      Specified by:
      getAlgorithm in interface com.sshtools.common.ssh.components.SshPublicKey
      Overrides:
      getAlgorithm in class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey
    • getEncoded

      public byte[] getEncoded() throws com.sshtools.common.ssh.SshException
      Specified by:
      getEncoded in interface com.sshtools.common.ssh.components.SshPublicKey
      Overrides:
      getEncoded in class com.sshtools.common.ssh.components.jce.Ssh2DsaPublicKey
      Throws:
      com.sshtools.common.ssh.SshException