aQute.libg.cryptography
Class Crypto

java.lang.Object
  extended by aQute.libg.cryptography.Crypto

public class Crypto
extends Object


Constructor Summary
Crypto()
           
 
Method Summary
static
<T> T
fromString(String spec, Class<T> c)
           
static String toString(Object key)
           
static Verifier verifier(PublicKey key, Digest digest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Crypto

public Crypto()
Method Detail

fromString

public static <T> T fromString(String spec,
                               Class<T> c)
                    throws Exception
Type Parameters:
T -
Parameters:
spec -
Returns:
Throws:
Exception

toString

public static String toString(Object key)

verifier

public static Verifier verifier(PublicKey key,
                                Digest digest)
                         throws NoSuchAlgorithmException
Throws:
NoSuchAlgorithmException


Copyright © 2014 aQute SARL. All rights reserved.