kz.gamma.cms
Class CMSUtils
java.lang.Object
kz.gamma.cms.CMSUtils
class CMSUtils
- extends java.lang.Object
|
Field Summary |
private static java.lang.Runtime |
RUNTIME
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RUNTIME
private static final java.lang.Runtime RUNTIME
CMSUtils
CMSUtils()
getMaximumMemory
static int getMaximumMemory()
readContentInfo
static ContentInfo readContentInfo(byte[] input)
throws CMSException
- Throws:
CMSException
readContentInfo
static ContentInfo readContentInfo(java.io.InputStream input)
throws CMSException
- Throws:
CMSException
getCertificatesFromStore
static java.util.List getCertificatesFromStore(java.security.cert.CertStore certStore)
throws java.security.cert.CertStoreException,
CMSException
- Throws:
java.security.cert.CertStoreException
CMSException
getCRLsFromStore
static java.util.List getCRLsFromStore(java.security.cert.CertStore certStore)
throws java.security.cert.CertStoreException,
CMSException
- Throws:
java.security.cert.CertStoreException
CMSException
createBerSetFromList
static ASN1Set createBerSetFromList(java.util.List derObjects)
createDerSetFromList
static ASN1Set createDerSetFromList(java.util.List derObjects)
readContentInfo
private static ContentInfo readContentInfo(ASN1InputStream in)
throws CMSException
- Throws:
CMSException
streamToByteArray
public static byte[] streamToByteArray(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.