no.digipost.api.client.security
Class CryptoUtil

java.lang.Object
  extended by no.digipost.api.client.security.CryptoUtil

public class CryptoUtil
extends Object


Constructor Summary
CryptoUtil()
           
 
Method Summary
static PrivateKey loadKeyFromP12(InputStream certificateStream, String passord)
           
static byte[] sign(PrivateKey privateKey, String messageToSign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoUtil

public CryptoUtil()
Method Detail

loadKeyFromP12

public static PrivateKey loadKeyFromP12(InputStream certificateStream,
                                        String passord)

sign

public static byte[] sign(PrivateKey privateKey,
                          String messageToSign)


Copyright © 2012 Digipost Open Source. All Rights Reserved.