JCaosLib
V1.4.4.0

com.dreamsecurity.jcaos.ctl
Class TrustedCertificate

java.lang.Object
  extended bycom.dreamsecurity.jcaos.ctl.TrustedCertificate

public class TrustedCertificate
extends java.lang.Object

ÀÎÁõ¼­ ½Å·Ú ¸ñ·Ï¿¡ Æ÷ÇԵǾîÀÖ´Â ½Å·ÚÇÏ´Â ÀÎÁõ¼­(TrustedCertificate) Á¤º¸¸¦ È®ÀÎÇÑ´Ù.

½Å·ÚÇÏ´Â ÀÎÁõ¼­ÀÇ ASN.1 Æ÷¸ËÀº ´ÙÀ½°ú °°´Ù.

 TrustedCertificate ::= SEQUENCE {
 		trustedCertificateHash 			HashValue,
 		trustedCertificateAttributes 	TrustedCertificateAttributes OPTIONAL 
 }
 


Method Summary
 byte[] getEncoded()
          DER ÀÎÄÚµùÇÑ´Ù.
 byte[] getHashValue()
          ½Å·ÚÇÏ´Â ÀÎÁõ¼­ÀÇ ÇØ½¬°ªÀ» ȹµæÇÑ´Ù.
static TrustedCertificate getInstance(byte[] data)
          ½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© TrustedCertificate °´Ã¼·Î º¯È¯ÇÑ´Ù.
static TrustedCertificate getInstance(java.lang.Object o)
          ½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© TrustedCertificate °´Ã¼·Î º¯È¯ÇÑ´Ù.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static TrustedCertificate getInstance(byte[] data)
                                      throws java.io.IOException
½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© TrustedCertificate °´Ã¼·Î º¯È¯ÇÑ´Ù.

Parameters:
data - DER ÀÎÄÚµùµÈ ÇüÅÂÀÇ ½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸
Returns:
TrustedCertificate ÇüÅÂÀÇ °´Ã¼
Throws:
java.io.IOException - µðÄÚµù ½ÇÆÐ½Ã ¹ß»ý

getInstance

public static TrustedCertificate getInstance(java.lang.Object o)
                                      throws java.io.IOException
½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© TrustedCertificate °´Ã¼·Î º¯È¯ÇÑ´Ù.

Parameters:
o - ½Å·ÚÇÏ´Â ÀÎÁõ¼­ Á¤º¸ (DER ÀÎÄÚµùµÈ °ª ¶Ç´Â ASN.1 ÇüÅÂ)
Returns:
TrustedCertificate ÇüÅÂÀÇ °´Ã¼
Throws:
java.io.IOException - µðÄÚµù ½ÇÆÐ½Ã ¹ß»ý

getEncoded

public byte[] getEncoded()
DER ÀÎÄÚµùÇÑ´Ù.

Returns:
DER ÀÎÄÚµùÇÑ °ª

getHashValue

public byte[] getHashValue()
½Å·ÚÇÏ´Â ÀÎÁõ¼­ÀÇ ÇØ½¬°ªÀ» ȹµæÇÑ´Ù.

Returns:
ÀÎÁõ¼­ ÇØ½¬°ª

JCaosLib
V1.4.4.0


Copyright ¨Ï2007-2011 DreamSecurity Co.,Ltd . All rights reserved