kz.gamma.hardware.jce
Class JCESignature

java.lang.Object
  extended by kz.gamma.hardware.jce.JCESignature

public class JCESignature
extends java.lang.Object

Created with IntelliJ IDEA. User: s_moiseyev Date: 11.01.13 Time: 16:45 To change this template use File | Settings | File Templates.


Field Summary
private  CryptoObject cryptoObject
           
private  java.security.MessageDigest messageDigest
           
private  JCEPrivateKey privateKey
           
 
Constructor Summary
JCESignature(CryptoObject cryptoObject)
           
JCESignature(CryptoObject cryptoObject, JCEPrivateKey privateKey)
           
 
Method Summary
 java.security.MessageDigest getMessageDigest()
           
 void initSign(JCEPrivateKey key)
           
 byte[] sign()
           
 void update(byte b)
           
 void update(byte[] bytes)
           
 void update(byte[] b, int off, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

messageDigest

private java.security.MessageDigest messageDigest

cryptoObject

private CryptoObject cryptoObject

privateKey

private JCEPrivateKey privateKey
Constructor Detail

JCESignature

public JCESignature(CryptoObject cryptoObject,
                    JCEPrivateKey privateKey)

JCESignature

public JCESignature(CryptoObject cryptoObject)
Method Detail

update

public void update(byte[] b,
                   int off,
                   int len)

update

public void update(byte b)

initSign

public void initSign(JCEPrivateKey key)

update

public void update(byte[] bytes)

sign

public byte[] sign()
            throws PcscException
Throws:
PcscException

getMessageDigest

public java.security.MessageDigest getMessageDigest()


Copyright © 2013 Gamma Technologies. All Rights Reserved.