kz.gamma.jce.provider
Class JCEECPublicKey

java.lang.Object
  extended by kz.gamma.jce.provider.JCEECPublicKey
All Implemented Interfaces:
java.io.Serializable, java.security.interfaces.ECKey, java.security.interfaces.ECPublicKey, java.security.Key, java.security.PublicKey

public class JCEECPublicKey
extends java.lang.Object
implements java.security.interfaces.ECPublicKey

Открытый ключ

See Also:
Serialized Form

Field Summary
private  java.lang.String algorithm
           
private  byte[] pubKey
           
 
Fields inherited from interface java.security.interfaces.ECPublicKey
serialVersionUID
 
Constructor Summary
JCEECPublicKey(byte[] pbKey, java.lang.String OID)
          Конструктор
JCEECPublicKey(java.lang.String algorithm, byte[] pubKey)
          Deprecated. replaced by #JCEECPublicKey(byte[] pbKey, String OID))
 
Method Summary
 java.lang.String getAlgorithm()
          Получение алгоритма
 byte[] getEncoded()
          Открытый ключ
 java.lang.String getFormat()
          Не используется
 java.security.spec.ECParameterSpec getParams()
          Не используется
 java.security.spec.ECPoint getW()
          Не используется
 java.lang.String toString()
          Получение текстового представления открытого ключа
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

algorithm

private java.lang.String algorithm

pubKey

private byte[] pubKey
Constructor Detail

JCEECPublicKey

public JCEECPublicKey(byte[] pbKey,
                      java.lang.String OID)
Конструктор

Parameters:
pbKey - Открытый ключ
OID - Алгоритм

JCEECPublicKey

@Deprecated
public JCEECPublicKey(java.lang.String algorithm,
                                 byte[] pubKey)
Deprecated. replaced by #JCEECPublicKey(byte[] pbKey, String OID))

Конструктор

Parameters:
algorithm - Алгоритм
pubKey - Открытый ключ
Method Detail

getW

public java.security.spec.ECPoint getW()
Не используется

Specified by:
getW in interface java.security.interfaces.ECPublicKey
Returns:
Не используется

getAlgorithm

public java.lang.String getAlgorithm()
Получение алгоритма

Specified by:
getAlgorithm in interface java.security.Key
Returns:
Алгоритм

getFormat

public java.lang.String getFormat()
Не используется

Specified by:
getFormat in interface java.security.Key
Returns:
Не используется

getEncoded

public byte[] getEncoded()
Открытый ключ

Specified by:
getEncoded in interface java.security.Key
Returns:
Открытый ключ

getParams

public java.security.spec.ECParameterSpec getParams()
Не используется

Specified by:
getParams in interface java.security.interfaces.ECKey
Returns:
Не используется

toString

public java.lang.String toString()
Получение текстового представления открытого ключа

Overrides:
toString in class java.lang.Object
Returns:
Текстовое представление открытого ключа


Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.