ECPrivateKey
    
    
      
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
   
     
  
  
  
   
  
  
    
      
  
  
    
      
        outlined_flag 
       
     
    
      
        
          ECPrivateKey represents an elliptic curve private key in Java security.
         
      
        
          It provides access to the private value (S) and the associated domain parameters.
         
      
        
          This interface inherits functionality from PrivateKey, ECKey, and other related interfaces.
         
      
        
          ECPrivateKey supports encoding and serialization for persistence and interoperability.
         
      
        
          The interface includes methods for retrieving key attributes like algorithm, format, and encoded representation.
         
      
     
   
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    The interface to an elliptic curve (EC) private key.
    
    
  
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Constant Summary 
      
        
    
        
        
            long 
            serialVersionUID The class fingerprint that is set to indicate
 serialization compatibility. 
         
        
        
    
      
    
      Inherited Constant Summary 
      
        
          
        
      
        
      
        
          
            
              From interface
              java.security.Key 
             
            
              
              
              
                
                  
    
        
        
            long 
            serialVersionUID The class fingerprint that is set to indicate
 serialization compatibility with a previous
 version of the class. 
         
        
        
    
                
               
             
           
        
      
        
      
        
      
     
    
    
    
    
    
    
    
    
    
    
    
      Public Method Summary 
      
      
    
    
        
        
          
                abstract
                
                
                
                
                BigInteger
           
          
              
                getS ()
                
                
Returns the private value S.
                
               
           
         
    
    
    
      
     
    
    
    
    
    
    
    
      Inherited Method Summary 
      
        
      
        
        
        
      
        
        
          
            From interface
            java.security.Key 
           
          
            
            
            
              
              
    
    
        
        
          
                abstract
                
                
                
                
                String 
           
          
              
                getAlgorithm ()
                
                
Returns the standard algorithm name for this key.
                
               
           
         
    
    
        
        
          
                abstract
                
                
                
                
                byte[]
           
          
              
                getEncoded ()
                
                
Returns the key in its primary encoding format, or null
 if this key does not support encoding.
                
               
           
         
    
    
        
        
          
                abstract
                
                
                
                
                String 
           
          
              
                getFormat ()
                
                
Returns the name of the primary encoding format of this key,
 or null if this key does not support encoding.
                
               
           
         
    
    
    
              
             
           
         
        
      
        
        
        
      
        
      
       
    
     
    
     
    
    
    
    
    
    
    
    
    
    
    
    
    
      Constants 
      
    
    
    
    
        
          
            public
            static
            final
            
            
              long
            
           
            serialVersionUID 
         
          
            
            
  
          
        
          
  The class fingerprint that is set to indicate
 serialization compatibility.
            Constant Value:  
            
                
                    -7896394956925609184
                
             
            
        
         
     
    
    
     
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      Public Methods 
      
    
    
    
        
          
            public
            
            
            abstract
            
            BigInteger
           
          getS () 
         
          
        
          
  Returns the private value S.
 
     
    
    
     
    
    
    
    
    
    
      
  
  
  
 
  
    
      
       
    
    
      
    
     
  
       
    
    
      
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2024-07-10 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],[]]