Constant Field Values
+Contents
+-
+
- org.ondc.* +
org.ondc.*
+-
+
-
+org.ondc.EncryptionUtil+++Modifier and Type+Constant Field+Value++ +
public static final int+128+ +public static final int+96
+ -
+org.ondc.KeyUtil+ +
+
diff --git a/utilities/aes-gcm-java-utility/.gitignore b/utilities/aes-gcm-java-utility/.gitignore new file mode 100644 index 00000000..de02ddaf --- /dev/null +++ b/utilities/aes-gcm-java-utility/.gitignore @@ -0,0 +1,6 @@ +target +.DS_Store +.classpath +.project +.settings +.vscode \ No newline at end of file diff --git a/utilities/docs/allclasses-index.html b/utilities/aes-gcm-java-utility/docs/allclasses-index.html similarity index 64% rename from utilities/docs/allclasses-index.html rename to utilities/aes-gcm-java-utility/docs/allclasses-index.html index b3532960..74e01d02 100644 --- a/utilities/docs/allclasses-index.html +++ b/utilities/aes-gcm-java-utility/docs/allclasses-index.html @@ -1,18 +1,18 @@
- +org/ondc/crypto/util/package-summary.html
+ diff --git a/utilities/aes-gcm-java-utility/docs/jquery-ui.overrides.css b/utilities/aes-gcm-java-utility/docs/jquery-ui.overrides.css new file mode 100644 index 00000000..03c010ba --- /dev/null +++ b/utilities/aes-gcm-java-utility/docs/jquery-ui.overrides.css @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020, 2022, Oracle and/or its affiliates. All rights reserved. + * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + */ + +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active, +a.ui-button:active, +.ui-button:active, +.ui-button.ui-state-active:hover { + /* Overrides the color of selection used in jQuery UI */ + background: #F8981D; + border: 1px solid #F8981D; +} diff --git a/utilities/docs/legal/ADDITIONAL_LICENSE_INFO b/utilities/aes-gcm-java-utility/docs/legal/ADDITIONAL_LICENSE_INFO similarity index 100% rename from utilities/docs/legal/ADDITIONAL_LICENSE_INFO rename to utilities/aes-gcm-java-utility/docs/legal/ADDITIONAL_LICENSE_INFO diff --git a/utilities/docs/legal/ASSEMBLY_EXCEPTION b/utilities/aes-gcm-java-utility/docs/legal/ASSEMBLY_EXCEPTION similarity index 100% rename from utilities/docs/legal/ASSEMBLY_EXCEPTION rename to utilities/aes-gcm-java-utility/docs/legal/ASSEMBLY_EXCEPTION diff --git a/utilities/aes-gcm-java-utility/docs/legal/COPYRIGHT b/utilities/aes-gcm-java-utility/docs/legal/COPYRIGHT new file mode 100644 index 00000000..945e19c1 --- /dev/null +++ b/utilities/aes-gcm-java-utility/docs/legal/COPYRIGHT @@ -0,0 +1,69 @@ +Copyright © 1993, 2018, Oracle and/or its affiliates. +All rights reserved. + +This software and related documentation are provided under a +license agreement containing restrictions on use and +disclosure and are protected by intellectual property laws. +Except as expressly permitted in your license agreement or +allowed by law, you may not use, copy, reproduce, translate, +broadcast, modify, license, transmit, distribute, exhibit, +perform, publish, or display any part, in any form, or by +any means. Reverse engineering, disassembly, or +decompilation of this software, unless required by law for +interoperability, is prohibited. + +The information contained herein is subject to change +without notice and is not warranted to be error-free. If you +find any errors, please report them to us in writing. + +If this is software or related documentation that is +delivered to the U.S. Government or anyone licensing it on +behalf of the U.S. Government, the following notice is +applicable: + +U.S. GOVERNMENT END USERS: Oracle programs, including any +operating system, integrated software, any programs +installed on the hardware, and/or documentation, delivered +to U.S. Government end users are "commercial computer +software" pursuant to the applicable Federal Acquisition +Regulation and agency-specific supplemental regulations. As +such, use, duplication, disclosure, modification, and +adaptation of the programs, including any operating system, +integrated software, any programs installed on the hardware, +and/or documentation, shall be subject to license terms and +license restrictions applicable to the programs. No other +rights are granted to the U.S. Government. + +This software or hardware is developed for general use in a +variety of information management applications. It is not +developed or intended for use in any inherently dangerous +applications, including applications that may create a risk +of personal injury. If you use this software or hardware in +dangerous applications, then you shall be responsible to +take all appropriate fail-safe, backup, redundancy, and +other measures to ensure its safe use. Oracle Corporation +and its affiliates disclaim any liability for any damages +caused by use of this software or hardware in dangerous +applications. + +Oracle and Java are registered trademarks of Oracle and/or +its affiliates. Other names may be trademarks of their +respective owners. + +Intel and Intel Xeon are trademarks or registered trademarks +of Intel Corporation. All SPARC trademarks are used under +license and are trademarks or registered trademarks of SPARC +International, Inc. AMD, Opteron, the AMD logo, and the AMD +Opteron logo are trademarks or registered trademarks of +Advanced Micro Devices. UNIX is a registered trademark of +The Open Group. + +This software or hardware and documentation may provide +access to or information on content, products, and services +from third parties. Oracle Corporation and its affiliates +are not responsible for and expressly disclaim all +warranties of any kind with respect to third-party content, +products, and services. Oracle Corporation and its +affiliates will not be responsible for any loss, costs, or +damages incurred due to your access to or use of third-party +content, products, or services. diff --git a/utilities/aes-gcm-java-utility/docs/legal/LICENSE b/utilities/aes-gcm-java-utility/docs/legal/LICENSE new file mode 100644 index 00000000..ee860d38 --- /dev/null +++ b/utilities/aes-gcm-java-utility/docs/legal/LICENSE @@ -0,0 +1,118 @@ +Your use of this Program is governed by the No-Fee Terms and Conditions set +forth below, unless you have received this Program (alone or as part of another +Oracle product) under an Oracle license agreement (including but not limited to +the Oracle Master Agreement), in which case your use of this Program is governed +solely by such license agreement with Oracle. + +Oracle No-Fee Terms and Conditions (NFTC) + +Definitions + +"Oracle" refers to Oracle America, Inc. "You" and "Your" refers to (a) a company +or organization (each an "Entity") accessing the Programs, if use of the +Programs will be on behalf of such Entity; or (b) an individual accessing the +Programs, if use of the Programs will not be on behalf of an Entity. +"Program(s)" refers to Oracle software provided by Oracle pursuant to the +following terms and any updates, error corrections, and/or Program Documentation +provided by Oracle. "Program Documentation" refers to Program user manuals and +Program installation manuals, if any. If available, Program Documentation may be +delivered with the Programs and/or may be accessed from +www.oracle.com/documentation. "Separate Terms" refers to separate license terms +that are specified in the Program Documentation, readmes or notice files and +that apply to Separately Licensed Technology. "Separately Licensed Technology" +refers to Oracle or third party technology that is licensed under Separate Terms +and not under the terms of this license. + +Separately Licensed Technology + +Oracle may provide certain notices to You in Program Documentation, readmes or +notice files in connection with Oracle or third party technology provided as or +with the Programs. If specified in the Program Documentation, readmes or notice +files, such technology will be licensed to You under Separate Terms. Your rights +to use Separately Licensed Technology under Separate Terms are not restricted in +any way by the terms herein. For clarity, notwithstanding the existence of a +notice, third party technology that is not Separately Licensed Technology shall +be deemed part of the Programs licensed to You under the terms of this license. + +Source Code for Open Source Software + +For software that You receive from Oracle in binary form that is licensed under +an open source license that gives You the right to receive the source code for +that binary, You can obtain a copy of the applicable source code from +https://oss.oracle.com/sources/ or http://www.oracle.com/goto/opensourcecode. If +the source code for such software was not provided to You with the binary, You +can also receive a copy of the source code on physical media by submitting a +written request pursuant to the instructions in the "Written Offer for Source +Code" section of the latter website. + +------------------------------------------------------------------------------- + +The following license terms apply to those Programs that are not provided to You +under Separate Terms. + +License Rights and Restrictions + +Oracle grants to You, as a recipient of this Program, subject to the conditions +stated herein, a nonexclusive, nontransferable, limited license to: + +(a) internally use the unmodified Programs for the purposes of developing, +testing, prototyping and demonstrating your applications, and running the +Program for Your own personal use or internal business operations; and + +(b) redistribute the unmodified Program and Program Documentation, under the +terms of this License, provided that You do not charge Your licensees any fees +associated with such distribution or use of the Program, including, without +limitation, fees for products that include or are bundled with a copy of the +Program or for services that involve the use of the distributed Program. + +You may make copies of the Programs to the extent reasonably necessary for +exercising the license rights granted herein and for backup purposes. You are +granted the right to use the Programs to provide third party training in the use +of the Programs and associated Separately Licensed Technology only if there is +express authorization of such use by Oracle on the Program's download page or in +the Program Documentation. + +Your license is contingent on compliance with the following conditions: + +- You do not remove markings or notices of either Oracle's or a licensor's + proprietary rights from the Programs or Program Documentation; + +- You comply with all U.S. and applicable export control and economic sanctions + laws and regulations that govern Your use of the Programs (including technical + data); + +- You do not cause or permit reverse engineering, disassembly or decompilation + of the Programs (except as allowed by law) by You nor allow an associated + party to do so. + +For clarity, any source code that may be included in the distribution with the +Programs is provided solely for reference purposes and may not be modified, +unless such source code is under Separate Terms permitting modification. + +Ownership + +Oracle or its licensors retain all ownership and intellectual property rights to +the Programs. + +Information Collection + +The Programs' installation and/or auto-update processes, if any, may transmit a +limited amount of data to Oracle or its service provider about those processes +to help Oracle understand and optimize them. Oracle does not associate the data +with personally identifiable information. Refer to Oracle's Privacy Policy at +www.oracle.com/privacy. + +Disclaimer of Warranties; Limitation of Liability + +THE PROGRAMS ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ORACLE FURTHER +DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION, ANY +IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR +NONINFRINGEMENT. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL ORACLE BE LIABLE TO YOU FOR +DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT +LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. diff --git a/utilities/docs/legal/jquery.md b/utilities/aes-gcm-java-utility/docs/legal/jquery.md similarity index 94% rename from utilities/docs/legal/jquery.md rename to utilities/aes-gcm-java-utility/docs/legal/jquery.md index 8054a34c..d468b318 100644 --- a/utilities/docs/legal/jquery.md +++ b/utilities/aes-gcm-java-utility/docs/legal/jquery.md @@ -1,9 +1,9 @@ -## jQuery v3.5.1 +## jQuery v3.6.1 ### jQuery License ``` -jQuery v 3.5.1 -Copyright JS Foundation and other contributors, https://js.foundation/ +jQuery v 3.6.1 +Copyright OpenJS Foundation and other contributors, https://openjsf.org/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the @@ -26,7 +26,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ****************************************** -The jQuery JavaScript Library v3.5.1 also includes Sizzle.js +The jQuery JavaScript Library v3.6.1 also includes Sizzle.js Sizzle.js includes the following license: diff --git a/utilities/docs/legal/jqueryUI.md b/utilities/aes-gcm-java-utility/docs/legal/jqueryUI.md similarity index 100% rename from utilities/docs/legal/jqueryUI.md rename to utilities/aes-gcm-java-utility/docs/legal/jqueryUI.md diff --git a/utilities/aes-gcm-java-utility/docs/member-search-index.js b/utilities/aes-gcm-java-utility/docs/member-search-index.js new file mode 100644 index 00000000..8a7bddb0 --- /dev/null +++ b/utilities/aes-gcm-java-utility/docs/member-search-index.js @@ -0,0 +1 @@ +memberSearchIndex = [{"p":"org.ondc","c":"App","l":"App()","u":"%3Cinit%3E()"},{"p":"org.ondc","c":"EncryptionUtil","l":"AUTH_TAG_BIT_LENGTH"},{"p":"org.ondc","c":"EncryptionUtil","l":"decryptData(String, String)","u":"decryptData(java.lang.String,java.lang.String)"},{"p":"org.ondc","c":"KeyUtil.DHKeyPair","l":"DHKeyPair(KeyPair)","u":"%3Cinit%3E(java.security.KeyPair)"},{"p":"org.ondc","c":"EncryptionUtil","l":"encryptData(String, String)","u":"encryptData(java.lang.String,java.lang.String)"},{"p":"org.ondc","c":"EncryptionUtil.EncryptionPayload","l":"EncryptionPayload()","u":"%3Cinit%3E()"},{"p":"org.ondc","c":"KeyUtil","l":"generateKeyPair()"},{"p":"org.ondc","c":"KeyUtil","l":"generateSharedKey(String, String)","u":"generateSharedKey(java.lang.String,java.lang.String)"},{"p":"org.ondc","c":"EncryptionUtil.EncryptionPayload","l":"getEncrypedData()"},{"p":"org.ondc","c":"EncryptionUtil.EncryptionPayload","l":"getHmac()"},{"p":"org.ondc","c":"EncryptionUtil.EncryptionPayload","l":"getNonce()"},{"p":"org.ondc","c":"KeyUtil.DHKeyPair","l":"getPrivateKey()"},{"p":"org.ondc","c":"KeyUtil.DHKeyPair","l":"getPublicKey()"},{"p":"org.ondc","c":"EncryptionUtil","l":"IV_BIT_LENGTH"},{"p":"org.ondc","c":"KeyUtil","l":"KEYPAIR_GENERATION_ALGORITHM"},{"p":"org.ondc","c":"App","l":"main(String[])","u":"main(java.lang.String[])"},{"p":"org.ondc","c":"EncryptionUtil.EncryptionPayload","l":"toBase64String()"},{"p":"org.ondc","c":"KeyUtil.DHKeyPair","l":"toString()"}];updateSearchResults(); \ No newline at end of file diff --git a/utilities/docs/module-search-index.js b/utilities/aes-gcm-java-utility/docs/module-search-index.js similarity index 100% rename from utilities/docs/module-search-index.js rename to utilities/aes-gcm-java-utility/docs/module-search-index.js diff --git a/utilities/aes-gcm-java-utility/docs/org/ondc/App.html b/utilities/aes-gcm-java-utility/docs/org/ondc/App.html new file mode 100644 index 00000000..162a5f1a --- /dev/null +++ b/utilities/aes-gcm-java-utility/docs/org/ondc/App.html @@ -0,0 +1,166 @@ + + + + +args - Main Function Args.static class static final intstatic final intstatic StringdecryptData(String key,
+ String eData) static StringencryptData(String key,
+ String data) key - The Shared Key.data - The Raw Data to be Encrypted.key - The Shared Key.eData - The Encrypted Data.toString()keyPair - Instance of java.security.KeyPair Class.static class static final Stringstatic KeyUtil.DHKeyPairstatic StringgenerateSharedKey(String privateKeyStr,
+ String publicKeyStr) static KeyUtil.DHKeyPairgenerateKeyPair()