Class KeyPairGenECDSA

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) byte[] d  
      (package private) java.security.spec.ECParameterSpec params  
      (package private) java.security.interfaces.ECPrivateKey prvKey  
      (package private) java.security.interfaces.ECPublicKey pubKey  
      (package private) byte[] r  
      (package private) byte[] s  
    • Constructor Summary

      Constructors 
      Constructor Description
      KeyPairGenECDSA()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void bzero​(byte[] buf)  
      private byte[] chop0​(byte[] buf)  
      byte[] getD()  
      (package private) java.security.interfaces.ECPrivateKey getPrivateKey()  
      (package private) java.security.interfaces.ECPublicKey getPublicKey()  
      byte[] getR()  
      byte[] getS()  
      void init​(int key_size)  
      private byte[] insert0​(byte[] buf)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • d

        byte[] d
      • r

        byte[] r
      • s

        byte[] s
      • pubKey

        java.security.interfaces.ECPublicKey pubKey
      • prvKey

        java.security.interfaces.ECPrivateKey prvKey
      • params

        java.security.spec.ECParameterSpec params
    • Constructor Detail

      • KeyPairGenECDSA

        public KeyPairGenECDSA()
    • Method Detail

      • init

        public void init​(int key_size)
                  throws java.lang.Exception
        Specified by:
        init in interface KeyPairGenECDSA
        Throws:
        java.lang.Exception
      • getPublicKey

        java.security.interfaces.ECPublicKey getPublicKey()
      • getPrivateKey

        java.security.interfaces.ECPrivateKey getPrivateKey()
      • insert0

        private byte[] insert0​(byte[] buf)
      • chop0

        private byte[] chop0​(byte[] buf)
      • bzero

        private void bzero​(byte[] buf)