|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xecure.expcms.EnvelopedData
ÀÌ Å¬·¡½º´Â CMS ÀÇ Envelope Data ¸¦ »ý¼ºÇϰí ÇØ¼®ÇÑ´Ù.
Field Summary | |
static int |
CONTENT_DATA
|
static int |
CONTENT_DATA_OCTETSTR
|
static int |
CONTENT_ENVELOPED
|
static int |
CONTENT_SIGNED
|
static int |
DES_CBC
|
static int |
DES_EDE3_CBC
|
static int |
SEED_CBC
|
Constructor Summary | |
EnvelopedData(XecureExpConfig config)
EnvelopedData Constructor |
Method Summary | |
byte[] |
deEnvelopedData(byte[] recipient_cert_pem,
byte[] recipient_key,
byte[] key_pwd,
java.lang.String enveloped)
Enveloped Data¸¦ DeEnvelopeÇÑ´Ù. |
byte[] |
deEnvelopedData(java.security.cert.X509Certificate recipient_cert,
byte[] recipient_key,
byte[] key_pwd,
java.lang.String enveloped)
Enveloped Data¸¦ DeEnvelopeÇÑ´Ù. |
java.lang.String |
envelopedData(byte[] recipient_cert_pem,
byte[] plain,
int encryptionAlgorithm,
int plainContentType)
Enveloped Data¸¦ »ý¼ºÇÑ´Ù. |
java.lang.String |
envelopedData(java.security.cert.X509Certificate recipient_cert,
byte[] plain,
int encryptionAlgorithm,
int plainContentType)
Enveloped Data¸¦ »ý¼ºÇÑ´Ù. |
int |
getDecodedContentType()
Deprecated DecodeÇÑ µ¥ÀÌÅÍÀÇ Å¸ÀÔÀ» ¸®ÅÏÇÑ´Ù. |
int |
getDecodedEncryptionAlgorithm()
Envelope¿¡ »ç¿ëµÈ ¾Ë°í¸®ÁòÀ» ¸®ÅÏÇÑ´Ù. |
int |
getLastError()
¿¡·¯ Äڵ带 ¸®ÅÏÇÑ´Ù. |
java.lang.String |
getLastErrorMsg()
¿¡·¯ ¸Þ½ÃÁö¸¦ ¸®ÅÏÇÑ´Ù. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static int DES_CBC
public static int DES_EDE3_CBC
public static int SEED_CBC
public static int CONTENT_DATA
public static int CONTENT_DATA_OCTETSTR
public static int CONTENT_SIGNED
public static int CONTENT_ENVELOPED
Constructor Detail |
public EnvelopedData(XecureExpConfig config)
config
- xecure.exp.XecureExpConfigMethod Detail |
public java.lang.String envelopedData(java.security.cert.X509Certificate recipient_cert, byte[] plain, int encryptionAlgorithm, int plainContentType) throws java.security.cert.CertificateEncodingException
recipient_cert
- EnvelopeÇϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ ÀÎÁõ¼.plain
- EnvelopeÇϰíÀÚÇÏ´Â µ¥ÀÌŸ.encryptionAlgorithm
- ¼¸í ¾Ë°í¸®Áò EnvelopedData.DES_CBC, EnvelopedData.DES_EDE3_CBC,plainContentType
- µ¥ÀÌÅÍ Çü½Ä EnvelopedData.CONTENT_DATA,public java.lang.String envelopedData(byte[] recipient_cert_pem, byte[] plain, int encryptionAlgorithm, int plainContentType) throws java.security.cert.CertificateEncodingException
recipient_cert_pem
- EnvelopeÇϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ ÀÎÁõ¼.(pem type)plain
- EnvelopeÇϰíÀÚÇÏ´Â µ¥ÀÌŸ.encryptionAlgorithm
- ¼¸í ¾Ë°í¸®Áò EnvelopedData.DES_CBC, EnvelopedData.DES_EDE3_CBC,plainContentType
- µ¥ÀÌÅÍ Çü½Ä EnvelopedData.CONTENT_DATA,public byte[] deEnvelopedData(java.security.cert.X509Certificate recipient_cert, byte[] recipient_key, byte[] key_pwd, java.lang.String enveloped) throws java.security.cert.CertificateEncodingException
recipient_cert
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ ÀÎÁõ¼.recipient_key
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ °³ÀÎŰ.key_pwd
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ °³ÀÎŰ ÆÐ½º¿öµå.enveloped
- DeEnvelopeÇϰíÀÚÇÏ´Â Envelopedµ¥ÀÌŸ.public byte[] deEnvelopedData(byte[] recipient_cert_pem, byte[] recipient_key, byte[] key_pwd, java.lang.String enveloped) throws java.security.cert.CertificateEncodingException
recipient_cert_pem
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ ÀÎÁõ¼.recipient_key
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ °³ÀÎŰ.key_pwd
- º¹È£Çϴµ¥ »ç¿ëµÉ ¼ö½ÅÀÚ °³ÀÎŰ ÆÐ½º¿öµå.enveloped
- DeEnvelopeÇϰíÀÚÇÏ´Â Envelopedµ¥ÀÌŸ.public int getDecodedEncryptionAlgorithm()
public int getDecodedContentType()
public int getLastError()
public java.lang.String getLastErrorMsg()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |