Package | Description |
---|---|
kz.gamma.asn1.cms | |
kz.gamma.cms | |
kz.gamma.tsp | |
kz.gamma.vista |
Modifier and Type | Method and Description |
---|---|
byte[] |
RevokeRequest.getSignedRequest(java.security.PrivateKey key,
java.security.cert.X509Certificate cert)
Формирование подписанного запроса на отзыв сертификата
|
boolean |
RevokeRequest.verifyRevSignRequest(byte[] signedRequest)
Проверка подписи запроса на отзыв сертификата
|
Modifier and Type | Method and Description |
---|---|
void |
CMSSignedGenerator.addAttributeCertificates(X509Store store)
Add the attribute certificates contained in the passed in store to the
generator.
|
void |
CMSSignedGenerator.addCertificatesAndCRLs(java.security.cert.CertStore certStore)
add the certificates and CRLs contained in the given CertStore
to the pool that will be included in the encoded signature block.
|
private void |
CMSSignedHelper.addCertsFromSet(java.util.List certs,
ASN1Set certSet,
java.lang.String provider) |
private void |
CMSSignedHelper.addCRLsFromSet(java.util.List crls,
ASN1Set certSet,
java.lang.String provider) |
(package private) X509Store |
CMSSignedHelper.createAttributeStore(java.lang.String type,
java.lang.String provider,
ASN1Set certSet) |
(package private) X509Store |
CMSSignedHelper.createCertificateStore(java.lang.String type,
java.lang.String provider,
ASN1Set certSet) |
(package private) java.security.cert.CertStore |
CMSSignedHelper.createCertStore(java.lang.String type,
java.lang.String provider,
ASN1Set certSet,
ASN1Set crlSet) |
(package private) X509Store |
CMSSignedHelper.createCRLsStore(java.lang.String type,
java.lang.String provider,
ASN1Set crlSet) |
private DigestInfo |
SignerInformation.derDecode(byte[] encoding) |
private boolean |
SignerInformation.doVerify(java.security.PublicKey key,
AttributeTable signedAttrTable,
java.lang.String sigProvider) |
CMSSignedData |
CMSVistaSignedDataGenerator.generate(CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature with the
default content type "data".
|
CMSSignedData |
CMSSignedDataMultipleSignatureGenerator.generate(CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
method for generating multiple-signature cms.
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature with the
default content type "data".
|
CMSSignedData |
CMSVistaSignedDataGenerator.generate(CMSProcessable content,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider.
|
CMSSignedData |
CMSSignedDataMultipleSignatureGenerator.generate(CMSProcessable content,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider.
|
CMSSignedData |
CMSSignedDataGenerator.generate(CMSProcessable content,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider.
|
CMSCompressedData |
CMSCompressedDataGenerator.generate(CMSProcessable content,
java.lang.String compressionOID)
generate an object that contains an CMS Compressed Data
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
java.lang.String encryptionOID,
int keySize,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider.
|
private CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
java.lang.String encryptionOID,
javax.crypto.KeyGenerator keyGen,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider and the passed in key generator.
|
CMSEnvelopedData |
CMSEnvelopedDataGenerator.generate(CMSProcessable content,
java.lang.String encryptionOID,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider.
|
CMSSignedData |
CMSSignedDataMultipleSignatureGenerator.generate(java.lang.String sigProvider)
prefered method for generating multiple-signature cms.
|
CMSSignedData |
CMSVistaSignedDataGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature.
|
CMSSignedData |
CMSSignedDataMultipleSignatureGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
method for generating multiple-signature cms.
|
CMSSignedData |
CMSSignedDataGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider)
generate a signed object that for a CMS Signed Data
object using the given provider - if encapsulate is true a copy
of the message will be included in the signature.
|
CMSSignedData |
CMSVistaSignedDataGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider,
boolean addDefaultAttributes)
Similar method to the other generate methods.
|
CMSSignedData |
CMSSignedDataMultipleSignatureGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider,
boolean addDefaultAttributes)
method for generating multiple-signature cms.
|
CMSSignedData |
CMSSignedDataGenerator.generate(java.lang.String signedContentType,
CMSProcessable content,
boolean encapsulate,
java.lang.String sigProvider,
boolean addDefaultAttributes)
Similar method to the other generate methods.
|
protected java.security.AlgorithmParameters |
CMSEnvelopedGenerator.generateParameters(java.lang.String encryptionOID,
javax.crypto.SecretKey encKey,
java.lang.String encProvider) |
X509Store |
CMSSignedDataParser.getAttributeCertificates(java.lang.String type,
java.lang.String provider)
return a X509Store containing the attribute certificates, if any, contained
in this message.
|
X509Store |
CMSSignedData.getAttributeCertificates(java.lang.String type,
java.lang.String provider)
return a X509Store containing the attribute certificates, if any, contained
in this message.
|
java.security.cert.X509Certificate |
Pkcs7Data.getCertificateOfSigner()
Извлечение из PKCS#7 сертификата подписавшего.
|
X509Store |
CMSSignedDataParser.getCertificates(java.lang.String type,
java.lang.String provider)
return a X509Store containing the public key certificates, if any, contained
in this message.
|
X509Store |
CMSSignedData.getCertificates(java.lang.String type,
java.lang.String provider)
return a X509Store containing the public key certificates, if any, contained
in this message.
|
java.security.cert.CertStore |
CMSSignedDataParser.getCertificatesAndCRLs(java.lang.String type,
java.lang.String provider)
return a CertStore containing the certificates and CRLs associated with
this message.
|
java.security.cert.CertStore |
CMSSignedData.getCertificatesAndCRLs(java.lang.String type,
java.lang.String provider)
return a CertStore containing the certificates and CRLs associated with
this message.
|
(package private) static java.util.List |
CMSUtils.getCertificatesFromStore(java.security.cert.CertStore certStore) |
java.util.List<java.security.cert.X509Certificate> |
Pkcs7Data.getCertificatesOfSigners()
Извлечение из PKCS#7 сертификатов подписавших.
|
CMSTypedStream |
CMSCompressedDataParser.getContent() |
byte[] |
CMSCompressedData.getContent() |
byte[] |
RecipientInformation.getContent(java.security.Key key,
java.lang.String provider) |
protected CMSTypedStream |
RecipientInformation.getContentFromSessionKey(java.security.Key sKey,
java.lang.String provider) |
abstract CMSTypedStream |
RecipientInformation.getContentStream(java.security.Key key,
java.lang.String provider) |
CMSTypedStream |
PasswordRecipientInformation.getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return an input stream.
|
CMSTypedStream |
KeyTransRecipientInformation.getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return it as a byte array.
|
CMSTypedStream |
KeyAgreeRecipientInformation.getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return an input stream.
|
CMSTypedStream |
KEKRecipientInformation.getContentStream(java.security.Key key,
java.lang.String prov)
decrypt the content and return an input stream.
|
X509Store |
CMSSignedDataParser.getCRLs(java.lang.String type,
java.lang.String provider)
return a X509Store containing CRLs, if any, contained
in this message.
|
X509Store |
CMSSignedData.getCRLs(java.lang.String type,
java.lang.String provider)
return a X509Store containing CRLs, if any, contained
in this message.
|
(package private) static java.util.List |
CMSUtils.getCRLsFromStore(java.security.cert.CertStore certStore) |
java.security.AlgorithmParameters |
CMSEnvelopedDataParser.getEncryptionAlgorithmParameters(java.lang.String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
java.security.AlgorithmParameters |
CMSEnvelopedData.getEncryptionAlgorithmParameters(java.lang.String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the message content.
|
(package private) java.security.AlgorithmParameters |
CMSEnvelopedHelper.getEncryptionAlgorithmParameters(java.lang.String encOID,
byte[] encParams,
java.lang.String provider) |
java.security.AlgorithmParameters |
RecipientInformation.getKeyEncryptionAlgorithmParameters(java.lang.String provider)
Return an AlgorithmParameters object giving the encryption parameters
used to encrypt the key this recipient holds.
|
SignerInformationStore |
CMSSignedDataParser.getSignerInfos()
return the collection of signers that are associated with the
signatures for the message.
|
java.util.Map<java.security.cert.X509Certificate,SigningCertificateV2> |
Pkcs7Data.getSigningCertificateV2OfSigners()
return map X509Certificate-signingCertificateV2 (attribute "1.2.840.113549.1.9.16.2.47")
|
java.io.OutputStream |
CMSEnvelopedDataStreamGenerator.open(java.io.OutputStream out,
java.lang.String encryptionOID,
int keySize,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider.
|
private java.io.OutputStream |
CMSEnvelopedDataStreamGenerator.open(java.io.OutputStream out,
java.lang.String encryptionOID,
javax.crypto.KeyGenerator keyGen,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider and the passed in key generator.
|
protected java.io.OutputStream |
CMSEnvelopedDataStreamGenerator.open(java.io.OutputStream out,
java.lang.String encryptionOID,
javax.crypto.SecretKey encKey,
java.security.AlgorithmParameters params,
ASN1EncodableVector recipientInfos,
java.lang.String provider) |
java.io.OutputStream |
CMSEnvelopedDataStreamGenerator.open(java.io.OutputStream out,
java.lang.String encryptionOID,
java.lang.String provider)
generate an enveloped object that contains an CMS Enveloped Data
object using the given provider.
|
private void |
CMSSignedDataParser.populateCertCrlSets() |
private static ContentInfo |
CMSUtils.readContentInfo(ASN1InputStream in) |
(package private) static ContentInfo |
CMSUtils.readContentInfo(byte[] input) |
(package private) static ContentInfo |
CMSUtils.readContentInfo(java.io.InputStream input) |
static CMSSignedData |
CMSSignedData.replaceCertificatesAndCRLs(CMSSignedData signedData,
java.security.cert.CertStore certsAndCrls)
Replace the certificate and CRL information associated with this
CMSSignedData object with the new one passed in.
|
static java.io.OutputStream |
CMSSignedDataParser.replaceCertificatesAndCRLs(java.io.InputStream original,
java.security.cert.CertStore certsAndCrls,
java.io.OutputStream out)
Replace the certificate and CRL information associated with this
CMSSignedData object with the new one passed in.
|
static java.io.OutputStream |
CMSSignedDataParser.replaceSigners(java.io.InputStream original,
SignerInformationStore signerInformationStore,
java.io.OutputStream out)
Replace the signerinformation store associated with the passed
in message contained in the stream original with the new one passed in.
|
(package private) SignerInfo |
CMSVistaSignedDataGenerator.SignerInf.toSignerInfo(DERObjectIdentifier contentType,
CMSProcessable content,
java.lang.String sigProvider,
boolean addDefaultAttributes) |
(package private) SignerInfo |
CMSSignedDataGenerator.SignerInf.toSignerInfo(DERObjectIdentifier contentType,
CMSProcessable content,
java.lang.String sigProvider,
boolean addDefaultAttributes) |
boolean |
SignerInformation.verify(java.security.PublicKey key,
java.lang.String sigProvider)
verify that the given public key succesfully handles and confirms the
signature associated with this signer.
|
boolean |
SignerInformation.verify(java.security.cert.X509Certificate cert,
java.lang.String sigProvider)
verify that the given certificate succesfully handles and confirms
the signature associated with this signer and, if a signingTime
attribute is available, that the certificate was valid at the time the
signature was generated.
|
private boolean |
SignerInformation.verifyDigest(byte[] digest,
java.security.PublicKey key,
byte[] signature,
java.lang.String sigProvider) |
void |
CMSProcessableFile.write(java.io.OutputStream zOut) |
void |
CMSProcessableByteArray.write(java.io.OutputStream zOut) |
void |
CMSProcessable.write(java.io.OutputStream out)
generic routine to copy out the data we want processed - the OutputStream
passed in will do the handling on it's own.
|
Constructor and Description |
---|
CMSCompressedData(byte[] compressedData) |
CMSCompressedData(ContentInfo contentInfo) |
CMSCompressedData(java.io.InputStream compressedData) |
CMSCompressedDataParser(byte[] compressedData) |
CMSCompressedDataParser(java.io.InputStream compressedData) |
CMSContentInfoParser(java.io.InputStream data) |
CMSEnvelopedData(byte[] envelopedData) |
CMSEnvelopedData(ContentInfo contentInfo) |
CMSEnvelopedData(java.io.InputStream envelopedData) |
CMSEnvelopedDataParser(byte[] envelopedData) |
CMSEnvelopedDataParser(java.io.InputStream envelopedData) |
CMSGammaEnvelopedData(byte[] cmsDevelopedBuf)
Чтение зашифрованного пакета.
|
CMSSignedData(byte[] sigBlock) |
CMSSignedData(CMSProcessable signedContent,
byte[] sigBlock) |
CMSSignedData(CMSProcessable signedContent,
java.io.InputStream sigData)
base constructor - content with detached signature.
|
CMSSignedData(java.io.InputStream sigData)
base constructor - with encapsulated content
|
CMSSignedData(java.util.Map hashes,
byte[] sigBlock)
Content with detached signature, digests precomputed
|
CMSSignedDataParser(byte[] sigBlock) |
CMSSignedDataParser(CMSTypedStream signedContent,
byte[] sigBlock) |
CMSSignedDataParser(CMSTypedStream signedContent,
java.io.InputStream sigData)
base constructor
|
CMSSignedDataParser(java.io.InputStream sigData)
base constructor - with encapsulated content
|
CMSVistaEnvelopedData(byte[] cmsDevelopedBuf)
Чтение зашифрованного пакета.
|
Modifier and Type | Method and Description |
---|---|
java.security.cert.CertStore |
TimeStampToken.getCertificatesAndCRLs(java.lang.String type,
java.lang.String provider) |
Constructor and Description |
---|
VistaMessage(byte[] body) |
Copyright © 1998-2014 Gamma Technologies. All Rights Reserved.