com.atlassian.aws.utils
Class CryptoUtils

java.lang.Object
  extended by com.atlassian.aws.utils.CryptoUtils

public final class CryptoUtils
extends Object


Method Summary
static Cipher getCipherForKey(String keyLocation, String cipherSpec)
           
static org.bouncycastle.openssl.PEMKeyPair parsePemKeyPair(String keyLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parsePemKeyPair

@Nullable
public static org.bouncycastle.openssl.PEMKeyPair parsePemKeyPair(String keyLocation)
                                                           throws IOException
Throws:
IOException

getCipherForKey

public static Cipher getCipherForKey(String keyLocation,
                                     String cipherSpec)


Copyright © 2015 Atlassian. All rights reserved.