From 3a444ac31ae540404a93bb1c378e262ad55e63d7 Mon Sep 17 00:00:00 2001 From: mjkhan21 Date: Fri, 20 Sep 2024 15:44:44 +0900 Subject: [PATCH] =?UTF-8?q?isEnabled()=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cokr/xit/interfaces/gpki/GPKI.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/cokr/xit/interfaces/gpki/GPKI.java b/src/main/java/cokr/xit/interfaces/gpki/GPKI.java index bf79e3c..271f28d 100644 --- a/src/main/java/cokr/xit/interfaces/gpki/GPKI.java +++ b/src/main/java/cokr/xit/interfaces/gpki/GPKI.java @@ -37,6 +37,13 @@ public class GPKI extends AbstractComponent { private gpkiapi_jni gpki; + /**활성화(사용)여부를 반환한다. + * @return 활성화(사용)여부 + */ + public boolean isEnabled() { + return conf.enabled; + } + /**주어진 문자열을 지정한 아이디의 서버인증서로 암호화하여 반환한다. * @param serverID 서버인증서 아이디 * @param data 문자열