JCaosLib
V1.4.4.0

com.dreamsecurity.jcaos.x509
Class X509OtherName

java.lang.Object
  extended bycom.dreamsecurity.jcaos.x509.X509OtherName

public class X509OtherName
extends java.lang.Object

GeneralNameÀÇ OtherName Á¤º¸¸¦ ó¸®Çϱâ À§ÇÑ Å¬·¡½ºÀÌ´Ù.

Since:
1.0.0.0
See Also:
X509GeneralName

Method Summary
 byte[] getEncoded()
          DER ÀÎÄÚµùÇÑ´Ù.
 IdentifyData getIdentifyData()
          OtherName °ª Áß IdentifyDataÀ» È®ÀÎÇÑ´Ù.
static X509OtherName getInstance(byte[] data)
          OtherName Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© X509OtherName °´Ã¼·Î º¯È¯ÇÑ´Ù.
static X509OtherName getInstance(java.lang.Object o)
          OtherName Á¤º¸¸¦ ÀÔ·ÂÇÏ¿© X509OtherName °´Ã¼·Î º¯È¯ÇÑ´Ù.
 java.lang.String getTypeId()
          OtherNameÀÇ Á¾·ù¸¦ È®ÀÎÇÑ´Ù.
 byte[] getValue()
          OtherName °ªÀ» È®ÀÎÇÑ´Ù.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

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

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

getInstance

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

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

getEncoded

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

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

getTypeId

public java.lang.String getTypeId()
OtherNameÀÇ Á¾·ù¸¦ È®ÀÎÇÑ´Ù.

±¹³» °øÀÎÀÎÁõü°è¿¡¼­´Â "½Äº° ¹øÈ£¸¦ ÀÌ¿ëÇÑ º»ÀÎÈ®ÀÎ"À» À§Çؼ­ OtherName¿¡ VID Á¤º¸¸¦ Æ÷ÇÔ½Ã۰í ÀÖ´Ù. VID Á¤º¸ÀÎ °æ¿ì¿¡´Â "1.2.410.200004.10.1.1"(id_kisa_identifyData) ÀÌ ¸®ÅϵȴÙ.

Returns:
OID Çü½ÄÀÇ OtherName Á¾·ù

getValue

public byte[] getValue()
OtherName °ªÀ» È®ÀÎÇÑ´Ù.

Returns:
DER ÀÎÄÚµù µÇ¾îÀÖ´Â OtherName

getIdentifyData

public IdentifyData getIdentifyData()
                             throws java.io.IOException
OtherName °ª Áß IdentifyDataÀ» È®ÀÎÇÑ´Ù. Áï, OtherName Á¾·ù°¡ "1.2.410.200004.10.1.1(id_kisa_identifyData)" ÀÎ °æ¿ì¿¡ °ªÀ» È®ÀÎÇÑ´Ù.

Returns:
º»ÀÎÈ®ÀÎÀ» À§ÇÑ Á¤º¸. IdentifyData°¡ ¾Æ´Ñ °æ¿ì¿¡ nullÀÌ ¸®ÅϵÊ.
Throws:
java.io.IOException - µðÄÚµù ½ÇÆÐ ½Ã ¹ß»ýÇÑ´Ù.

JCaosLib
V1.4.4.0


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