├── .gitignore ├── .gitattributes ├── resources └── fonts │ ├── DejaVuLGCSans.woff2 │ ├── DejaVuLGCSerif.woff2 │ ├── DejaVuLGCSans-Bold.woff2 │ ├── DejaVuLGCSansMono.woff2 │ ├── DejaVuLGCSerif-Bold.woff2 │ ├── DejaVuLGCSans-Oblique.woff2 │ ├── DejaVuLGCSansMono-Bold.woff2 │ ├── DejaVuLGCSerif-Italic.woff2 │ ├── DejaVuLGCSans-BoldOblique.woff2 │ ├── DejaVuLGCSansMono-Oblique.woff2 │ ├── DejaVuLGCSerif-BoldItalic.woff2 │ ├── DejaVuLGCSansMono-BoldOblique.woff2 │ └── dejavu.css ├── README.md ├── element-list ├── overview-summary.html ├── legal ├── ASSEMBLY_EXCEPTION └── ADDITIONAL_LICENSE_INFO ├── copy.svg ├── link.svg ├── org └── webpki │ ├── jose │ ├── package-tree.html │ ├── jws │ │ └── package-tree.html │ └── package-summary.html │ ├── cbor │ ├── doc-files │ │ ├── cbor-crypto.svg │ │ ├── crypto-options.html │ │ └── floatingpoint-variation.txt │ ├── CBORMap.Dynamic.html │ ├── CBORCryptoUtils.Collector.html │ ├── CBORCryptoUtils.Intercepter.html │ └── CBORSymKeyDecrypter.KeyLocator.html │ ├── pdf │ ├── package-tree.html │ └── package-summary.html │ ├── pkcs7 │ ├── package-tree.html │ └── package-summary.html │ ├── ca │ ├── package-tree.html │ └── package-summary.html │ ├── net │ ├── package-tree.html │ └── package-summary.html │ ├── webutil │ ├── package-tree.html │ └── package-summary.html │ ├── asn1 │ └── cert │ │ ├── package-tree.html │ │ └── package-summary.html │ ├── tools │ ├── package-tree.html │ └── package-summary.html │ ├── webauth │ ├── package-tree.html │ └── package-summary.html │ ├── keygen2 │ ├── KeyGen2URIs.html │ └── KeyGen2URIs.CLIENT_FEATURES.html │ ├── crypto │ ├── EncryptionAlgorithms.html │ ├── HmacVerifierInterface.html │ ├── X509VerifierInterface.html │ ├── X509SignerInterface.html │ └── CertificateSelectorSpi.html │ ├── json │ ├── JSONVerifier.html │ └── JSONObjectWriter.Dynamic.html │ └── util │ ├── MIMETypedObject.html │ ├── HTMLParserURLRewriter.html │ └── package-tree.html └── help-doc.html /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_store 2 | 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Disable LF normalization for all files 2 | * -text -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSans.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSans.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSerif.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSerif.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSans-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSans-Bold.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSansMono.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSansMono.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSerif-Bold.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSans-Oblique.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSans-Oblique.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSansMono-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSansMono-Bold.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSerif-Italic.woff2 -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Java API 2 | [JavaDoc](https://cyberphone.github.io/javaapi/) for the [openkeystore](https://github.com/cyberphone/openkeystore) library 3 | -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSans-BoldOblique.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSans-BoldOblique.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSansMono-Oblique.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSansMono-Oblique.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSerif-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSerif-BoldItalic.woff2 -------------------------------------------------------------------------------- /resources/fonts/DejaVuLGCSansMono-BoldOblique.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cyberphone/javaapi/gh-pages/resources/fonts/DejaVuLGCSansMono-BoldOblique.woff2 -------------------------------------------------------------------------------- /element-list: -------------------------------------------------------------------------------- 1 | org.webpki.asn1 2 | org.webpki.asn1.cert 3 | org.webpki.ca 4 | org.webpki.cbor 5 | org.webpki.crypto 6 | org.webpki.jose 7 | org.webpki.jose.jws 8 | org.webpki.json 9 | org.webpki.keygen2 10 | org.webpki.net 11 | org.webpki.pdf 12 | org.webpki.pkcs7 13 | org.webpki.sks 14 | org.webpki.tools 15 | org.webpki.util 16 | org.webpki.webauth 17 | org.webpki.webutil 18 | -------------------------------------------------------------------------------- /overview-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | WebPKI.org Support 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 16 | 17 | 18 |
19 | 22 |

index.html

23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /legal/ASSEMBLY_EXCEPTION: -------------------------------------------------------------------------------- 1 | 2 | OPENJDK ASSEMBLY EXCEPTION 3 | 4 | The OpenJDK source code made available by Oracle America, Inc. (Oracle) at 5 | openjdk.org ("OpenJDK Code") is distributed under the terms of the GNU 6 | General Public License version 2 7 | only ("GPL2"), with the following clarification and special exception. 8 | 9 | Linking this OpenJDK Code statically or dynamically with other code 10 | is making a combined work based on this library. Thus, the terms 11 | and conditions of GPL2 cover the whole combination. 12 | 13 | As a special exception, Oracle gives you permission to link this 14 | OpenJDK Code with certain code licensed by Oracle as indicated at 15 | https://openjdk.org/legal/exception-modules-2007-05-08.html 16 | ("Designated Exception Modules") to produce an executable, 17 | regardless of the license terms of the Designated Exception Modules, 18 | and to copy and distribute the resulting executable under GPL2, 19 | provided that the Designated Exception Modules continue to be 20 | governed by the licenses under which they were offered by Oracle. 21 | 22 | As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code 23 | to build an executable that includes those portions of necessary code that 24 | Oracle could not provide under GPL2 (or that Oracle has provided under GPL2 25 | with the Classpath exception). If you modify or add to the OpenJDK code, 26 | that new GPL2 code may still be combined with Designated Exception Modules 27 | if the new code is made subject to this exception by its copyright holder. 28 | -------------------------------------------------------------------------------- /copy.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | 29 | 31 | 33 | 34 | -------------------------------------------------------------------------------- /link.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /resources/fonts/dejavu.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: 'DejaVu Sans Mono'; 3 | src: url('DejaVuLGCSansMono.woff2') format('woff2'); 4 | font-weight: normal; 5 | font-style: normal; 6 | } 7 | @font-face { 8 | font-family: 'DejaVu Sans Mono'; 9 | src: url('DejaVuLGCSansMono-Oblique.woff2') format('woff2'); 10 | font-weight: normal; 11 | font-style: italic; 12 | } 13 | @font-face { 14 | font-family: 'DejaVu Sans Mono'; 15 | src: url('DejaVuLGCSansMono-Bold.woff2') format('woff2'); 16 | font-weight: bold; 17 | font-style: normal; 18 | } 19 | @font-face { 20 | font-family: 'DejaVu Sans Mono'; 21 | src: url('DejaVuLGCSansMono-BoldOblique.woff2') format('woff2'); 22 | font-weight: bold; 23 | font-style: italic; 24 | } 25 | 26 | @font-face { 27 | font-family: 'DejaVu Sans'; 28 | src: url('DejaVuLGCSans.woff2') format('woff2'); 29 | font-weight: normal; 30 | font-style: normal; 31 | } 32 | @font-face { 33 | font-family: 'DejaVu Sans'; 34 | src: url('DejaVuLGCSans-Oblique.woff2') format('woff2'); 35 | font-weight: normal; 36 | font-style: italic; 37 | } 38 | @font-face { 39 | font-family: 'DejaVu Sans'; 40 | src: url('DejaVuLGCSans-Bold.woff2') format('woff2'); 41 | font-weight: bold; 42 | font-style: normal; 43 | } 44 | @font-face { 45 | font-family: 'DejaVu Sans'; 46 | src: url('DejaVuLGCSans-BoldOblique.woff2') format('woff2'); 47 | font-weight: bold; 48 | font-style: italic; 49 | } 50 | 51 | @font-face { 52 | font-family: 'DejaVu Serif'; 53 | src: url('DejaVuLGCSerif.woff2') format('woff2'); 54 | font-weight: normal; 55 | font-style: normal; 56 | } 57 | @font-face { 58 | font-family: 'DejaVu Serif'; 59 | src: url('DejaVuLGCSerif-Italic.woff2') format('woff2'); 60 | font-weight: normal; 61 | font-style: italic; 62 | } 63 | @font-face { 64 | font-family: 'DejaVu Serif'; 65 | src: url('DejaVuLGCSerif-Bold.woff2') format('woff2'); 66 | font-weight: bold; 67 | font-style: normal; 68 | } 69 | @font-face { 70 | font-family: 'DejaVu Serif'; 71 | src: url('DejaVuLGCSerif-BoldItalic.woff2') format('woff2'); 72 | font-weight: bold; 73 | font-style: italic; 74 | } 75 | -------------------------------------------------------------------------------- /legal/ADDITIONAL_LICENSE_INFO: -------------------------------------------------------------------------------- 1 | ADDITIONAL INFORMATION ABOUT LICENSING 2 | 3 | Certain files distributed by Oracle America, Inc. and/or its affiliates are 4 | subject to the following clarification and special exception to the GPLv2, 5 | based on the GNU Project exception for its Classpath libraries, known as the 6 | GNU Classpath Exception. 7 | 8 | Note that Oracle includes multiple, independent programs in this software 9 | package. Some of those programs are provided under licenses deemed 10 | incompatible with the GPLv2 by the Free Software Foundation and others. 11 | For example, the package includes programs licensed under the Apache 12 | License, Version 2.0 and may include FreeType. Such programs are licensed 13 | to you under their original licenses. 14 | 15 | Oracle facilitates your further distribution of this package by adding the 16 | Classpath Exception to the necessary parts of its GPLv2 code, which permits 17 | you to use that code in combination with other independent modules not 18 | licensed under the GPLv2. However, note that this would not permit you to 19 | commingle code under an incompatible license with Oracle's GPLv2 licensed 20 | code by, for example, cutting and pasting such code into a file also 21 | containing Oracle's GPLv2 licensed code and then distributing the result. 22 | 23 | Additionally, if you were to remove the Classpath Exception from any of the 24 | files to which it applies and distribute the result, you would likely be 25 | required to license some or all of the other code in that distribution under 26 | the GPLv2 as well, and since the GPLv2 is incompatible with the license terms 27 | of some items included in the distribution by Oracle, removing the Classpath 28 | Exception could therefore effectively compromise your ability to further 29 | distribute the package. 30 | 31 | Failing to distribute notices associated with some files may also create 32 | unexpected legal consequences. 33 | 34 | Proceed with caution and we recommend that you obtain the advice of a lawyer 35 | skilled in open source matters before removing the Classpath Exception or 36 | making modifications to this package which may subsequently be redistributed 37 | and/or involve the use of third party software. 38 | -------------------------------------------------------------------------------- /org/webpki/jose/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.jose Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.jose

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Interface Hierarchy

49 | 52 |
53 |
54 |
55 |
56 | 57 |
58 |
59 |
60 | 61 | 62 | -------------------------------------------------------------------------------- /org/webpki/cbor/doc-files/cbor-crypto.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | CBOR Encryption Format 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | Main Map 22 | (Content Encryption) 23 | Optional Sub Map 24 | (Key Encryption) 25 | 26 | 27 | customData (0) 28 | algorithm (1) 29 | keyEncryption (2) 30 | keyId (3) 31 | tag (8) 32 | iv (9) 33 | cipherText (10) 34 | algorithm (1) 35 | keyId (3) 36 | publicKey (4) 37 | certificatePath (5) 38 | ephemeralKey (7) 39 | cipherText (10) 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /org/webpki/pdf/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.pdf Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.pdf

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 57 |
58 |
59 |
60 |
61 | 62 |
63 |
64 |
65 | 66 | 67 | -------------------------------------------------------------------------------- /org/webpki/pkcs7/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.pkcs7 Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.pkcs7

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 57 |
58 |
59 |
60 |
61 | 62 |
63 |
64 |
65 | 66 | 67 | -------------------------------------------------------------------------------- /org/webpki/ca/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.ca Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.ca

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 58 |
59 |
60 |
61 |
62 | 63 |
64 |
65 |
66 | 67 | 68 | -------------------------------------------------------------------------------- /org/webpki/net/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.net Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.net

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 56 |
57 |
58 |

Interface Hierarchy

59 | 62 |
63 |
64 |
65 |
66 | 67 |
68 |
69 |
70 | 71 | 72 | -------------------------------------------------------------------------------- /org/webpki/webutil/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.webutil Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.webutil

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 59 |
60 |
61 |
62 |
63 | 64 |
65 |
66 |
67 | 68 | 69 | -------------------------------------------------------------------------------- /org/webpki/asn1/cert/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.asn1.cert Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.asn1.cert

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 57 |
58 |
59 |

Interface Hierarchy

60 | 63 |
64 |
65 |
66 |
67 | 68 |
69 |
70 |
71 | 72 | 73 | -------------------------------------------------------------------------------- /org/webpki/tools/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.tools Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.tools

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 62 |
63 |
64 |
65 |
66 | 67 |
68 |
69 |
70 | 71 | 72 | -------------------------------------------------------------------------------- /org/webpki/jose/jws/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.jose.jws Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.jose.jws

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 68 |
69 |
70 |
71 |
72 | 73 |
74 |
75 |
76 | 77 | 78 | -------------------------------------------------------------------------------- /org/webpki/pdf/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.pdf (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.pdf

59 |
60 |
61 |
package org.webpki.pdf
62 |
63 |

PDF - Create and Verify Signed PDF Documents

64 | Legacy WebPKI code not intended for new designs.
65 |
66 |
67 |
    68 |
  • 69 |
    70 |
    Classes
    71 |
    72 |
    Class
    73 |
    Description
    74 | 75 |
     
    76 | 77 |
     
    78 |
    79 |
    80 |
  • 81 |
82 |
83 |
84 |
85 |
86 | 87 |
88 |
89 |
90 | 91 | 92 | -------------------------------------------------------------------------------- /org/webpki/pkcs7/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.pkcs7 (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.pkcs7

59 |
60 |
61 |
package org.webpki.pkcs7
62 |
63 |

PKCS7 - Create and Verify PKCS #7 Signatures

64 | Legacy WebPKI code not intended for new designs.
65 |
66 |
67 |
    68 |
  • 69 |
    70 |
    Classes
    71 |
    72 |
    Class
    73 |
    Description
    74 | 75 |
     
    76 | 77 |
     
    78 |
    79 |
    80 |
  • 81 |
82 |
83 |
84 |
85 |
86 | 87 |
88 |
89 |
90 | 91 | 92 | -------------------------------------------------------------------------------- /org/webpki/ca/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.ca (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.ca

59 |
60 |
61 |
package org.webpki.ca
62 |
63 |
CA - Minimalist Certification Authority
64 |
65 |
66 |
    67 |
  • 68 |
    69 |
    Classes
    70 |
    71 |
    Class
    72 |
    Description
    73 | 74 |
     
    75 | 76 |
     
    77 | 78 |
     
    79 |
    80 |
    81 |
  • 82 |
83 |
84 |
85 |
86 |
87 | 88 |
89 |
90 |
91 | 92 | 93 | -------------------------------------------------------------------------------- /org/webpki/webauth/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.webauth Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.webauth

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 67 |
68 |
69 |

Interface Hierarchy

70 | 73 |
74 |
75 |
76 |
77 | 78 |
79 |
80 |
81 | 82 | 83 | -------------------------------------------------------------------------------- /org/webpki/jose/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.jose (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.jose

59 |
60 |
61 |
package org.webpki.jose
62 |
63 |

Core JOSE support

64 |
65 |
66 |
    67 |
  • 68 | 79 |
  • 80 |
  • 81 |
    82 |
    Interfaces
    83 |
    84 |
    Class
    85 |
    Description
    86 | 87 |
    88 |
    Holds JOSE key words
    89 |
    90 |
    91 |
    92 |
  • 93 |
94 |
95 |
96 |
97 |
98 | 99 |
100 |
101 |
102 | 103 | 104 | -------------------------------------------------------------------------------- /org/webpki/webutil/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.webutil (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.webutil

59 |
60 |
61 |
package org.webpki.webutil
62 |
63 |

WebUtil - Servlet Support Classes

64 |
65 |
66 | 85 |
86 |
87 |
88 |
89 | 90 |
91 |
92 |
93 | 94 | 95 | -------------------------------------------------------------------------------- /org/webpki/keygen2/KeyGen2URIs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | KeyGen2URIs (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface KeyGen2URIs

77 |
78 |
79 |
80 |
public interface KeyGen2URIs
81 |
82 |
83 | 106 |
107 | 108 |
109 |
110 |
111 | 112 |
113 |
114 |
115 | 116 | 117 | -------------------------------------------------------------------------------- /org/webpki/net/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.net (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.net

59 |
60 |
61 |
package org.webpki.net
62 |
63 |

Net - HTTP(S) Client

64 | The Net package contains a single class which is used by several 65 | WebPKI projects for HTTPS communication. 66 | This class also supports a command-line operation which is somewhat 67 | similar to "curl" and Linux "get".
68 |
69 |
70 |
    71 |
  • 72 |
    73 |
    74 |
    75 |
    76 |
    Class
    77 |
    Description
    78 | 79 |
    80 |
    The HTTPSWrapper class makes it possible to establish HTTP/HTTPS connections 81 | to web servers and compose HTTP requests.
    82 |
    83 | 84 |
     
    85 |
    86 |
    87 |
    88 |
  • 89 |
90 |
91 |
92 |
93 |
94 | 95 |
96 |
97 |
98 | 99 | 100 | -------------------------------------------------------------------------------- /org/webpki/tools/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.tools (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.tools

59 |
60 |
61 |
package org.webpki.tools
62 |
63 |

Tools - Various Support Tools

64 |
65 |
66 | 97 |
98 |
99 |
100 |
101 | 102 |
103 |
104 |
105 | 106 | 107 | -------------------------------------------------------------------------------- /org/webpki/crypto/EncryptionAlgorithms.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | EncryptionAlgorithms (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface EncryptionAlgorithms

77 |
78 |
79 |
80 |
All Superinterfaces:
81 |
CryptoAlgorithms
82 |
83 |
84 |
All Known Implementing Classes:
85 |
AsymEncryptionAlgorithms, SymEncryptionAlgorithms
86 |
87 |
88 |
public interface EncryptionAlgorithms 89 | extends CryptoAlgorithms
90 |
91 |
92 | 103 |
104 | 105 |
106 |
107 |
108 | 109 |
110 |
111 |
112 | 113 | 114 | -------------------------------------------------------------------------------- /org/webpki/webauth/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.webauth (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.webauth

59 |
60 |
61 |
package org.webpki.webauth
62 |
63 |
WebAuth - PKI Based Web Authentication Core
64 |
65 |
66 | 89 |
90 |
91 |
92 |
93 | 94 |
95 |
96 |
97 | 98 | 99 | -------------------------------------------------------------------------------- /org/webpki/asn1/cert/package-summary.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.asn1.cert (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 55 |
56 |
57 |
58 |

Package org.webpki.asn1.cert

59 |
60 |
61 |
package org.webpki.asn1.cert
62 |
63 |
Cert - Support Classes for X.509 Certificates
64 |
65 |
66 |
    67 |
  • 68 | 79 |
  • 80 |
  • 81 |
    82 |
    83 |
    84 |
    85 |
    Class
    86 |
    Description
    87 | 88 |
    89 |
    X.509 DistinguishedName
    90 |
    91 | 92 |
    93 |
    X.509 RelativeDistinguishedName (RDN), i.e. a subpart of an X.509 DistinguishedName.
    94 |
    95 | 96 |
     
    97 |
    98 |
    99 |
    100 |
  • 101 |
102 |
103 |
104 |
105 |
106 | 107 |
108 |
109 |
110 | 111 | 112 | -------------------------------------------------------------------------------- /org/webpki/cbor/doc-files/crypto-options.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 17 |
18 | 37 |
38 |

Tagged and Custom Container Data

39 | The CBOR library contains support for wrapping CSF and 40 | CEF containers in a CBORTag as well as 41 | including a customData element. 42 |

43 | In both cases the added information becomes a part of the 44 | authenticated (signed) data. 45 |

46 |

47 | Note that these options represent extensions that in order to be 48 | accepted during validation respectively decryption, must 49 | be preceded by setting a for the application suitable policy 50 | (CBORCryptoUtils.POLICY). 51 |

52 |

Creating Tagged Containers

53 | Creating a tagged CSF only requires wrapping the map to be signed in a 54 | suitable CBORTag object. 55 |

56 | CEF containers can be tagged by wrapping an empty CBORMap in 57 | a suitable CBORTag object, and use that as an additional 58 | argument during encryption: CBOREncrypter.encrypt(byte[], CBORTag).

59 | 60 |

Decoding Tagged Containers

61 | Decoding the tag of a tagged CSF or CEF container is performed by calling 62 | CBORValidator.setTagPolicy(CBORCryptoUtils.POLICY,CBORCryptoUtils.Collector) and 63 | CBORDecrypter.setTagPolicy(CBORCryptoUtils.POLICY,CBORCryptoUtils.Collector) respectively, 64 | where CBORCryptoUtils.Collector.foundData(CBORObject) returns 65 | the actual tag object or null if the container is not tagged.

66 | 67 |

Creating Custom Data

68 | Adding custom data to CSF or CEF containers is performed by calling 69 | CBORSigner.setIntercepter(CBORCryptoUtils.Intercepter) and 70 | CBOREncrypter.setIntercepter(CBORCryptoUtils.Intercepter) respectively, 71 | where CBORCryptoUtils.Intercepter.getCustomData() is supposed 72 | to provide the actual data. 73 | 74 |

Decoding Custom Data

75 | Decoding custom data in a CSF or CEF container is performed by calling 76 | CBORValidator.setCustomDataPolicy(CBORCryptoUtils.POLICY,CBORCryptoUtils.Collector) and 77 | CBORDecrypter.setCustomDataPolicy(CBORCryptoUtils.POLICY,CBORCryptoUtils.Collector) respectively, 78 | where CBORCryptoUtils.Collector.foundData(CBORObject) returns 79 | the actual data or null if the container does not contain such data.

80 |
81 |
82 | 83 |
84 |
85 |
86 | 87 | 88 | -------------------------------------------------------------------------------- /org/webpki/json/JSONVerifier.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSONVerifier (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Class JSONVerifier

77 |
78 |
java.lang.Object 79 |
org.webpki.json.JSONVerifier
80 |
81 |
82 |
83 |
Direct Known Subclasses:
84 |
JSONAsymKeyVerifier, JSONHmacVerifier, JSONX509Verifier
85 |
86 |
87 |
public abstract class JSONVerifier 88 | extends Object
89 |
Support class for signature verifiers.
90 |
91 |
92 | 103 |
104 | 105 |
106 |
107 |
108 | 109 |
110 |
111 |
112 | 113 | 114 | -------------------------------------------------------------------------------- /org/webpki/cbor/CBORMap.Dynamic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CBORMap.Dynamic (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface CBORMap.Dynamic

77 |
78 |
79 |
80 |
Enclosing class:
81 |
CBORMap
82 |
83 |
84 |
public static interface CBORMap.Dynamic
85 |
Support interface for dynamic CBOR generation. 86 |

87 | Also see CBORMap.setDynamic(Dynamic). 88 |

89 |
90 |
91 |
    92 | 93 |
  • 94 |
    95 |

    Method Summary

    96 |
    97 |
    98 |
    99 |
    100 |
    Modifier and Type
    101 |
    Method
    102 |
    Description
    103 | 104 | 105 |
     
    106 |
    107 |
    108 |
    109 |
    110 |
  • 111 |
112 |
113 |
114 |
    115 | 116 |
  • 117 |
    118 |

    Method Details

    119 |
      120 |
    • 121 |
      122 |

      set

      123 |
      CBORMap set(CBORMap wr)
      124 |
      125 |
    • 126 |
    127 |
    128 |
  • 129 |
130 |
131 | 132 |
133 |
134 |
135 | 136 |
137 |
138 |
139 | 140 | 141 | -------------------------------------------------------------------------------- /org/webpki/json/JSONObjectWriter.Dynamic.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | JSONObjectWriter.Dynamic (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface JSONObjectWriter.Dynamic

77 |
78 |
79 |
80 |
Enclosing class:
81 |
JSONObjectWriter
82 |
83 |
84 |
public static interface JSONObjectWriter.Dynamic
85 |
Support interface for dynamic JSON generation.
86 |
87 |
88 |
    89 | 90 |
  • 91 |
    92 |

    Method Summary

    93 |
    94 |
    95 |
    96 |
    97 |
    Modifier and Type
    98 |
    Method
    99 |
    Description
    100 | 101 | 102 |
     
    103 |
    104 |
    105 |
    106 |
    107 |
  • 108 |
109 |
110 |
111 | 127 |
128 | 129 |
130 |
131 |
132 | 133 |
134 |
135 |
136 | 137 | 138 | -------------------------------------------------------------------------------- /org/webpki/keygen2/KeyGen2URIs.CLIENT_FEATURES.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | KeyGen2URIs.CLIENT_FEATURES (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface KeyGen2URIs.CLIENT_FEATURES

77 |
78 |
79 |
80 |
Enclosing interface:
81 |
KeyGen2URIs
82 |
83 |
84 |
public static interface KeyGen2URIs.CLIENT_FEATURES
85 |
86 |
87 |
    88 | 89 |
  • 90 |
    91 |

    Field Summary

    92 |
    Fields
    93 |
    94 |
    Modifier and Type
    95 |
    Field
    96 |
    Description
    97 |
    static final String
    98 | 99 |
     
    100 |
    static final String
    101 | 102 |
     
    103 |
    104 |
    105 |
  • 106 |
107 |
108 |
109 |
    110 | 111 |
  • 112 |
    113 |

    Field Details

    114 |
      115 |
    • 116 |
      117 |

      DEVICE_PIN_SUPPORT

      118 |
      static final String DEVICE_PIN_SUPPORT
      119 |
      120 |
      See Also:
      121 |
      122 | 125 |
      126 |
      127 |
      128 |
    • 129 |
    • 130 |
      131 |

      BIOMETRIC_SUPPORT

      132 |
      static final String BIOMETRIC_SUPPORT
      133 |
      134 |
      See Also:
      135 |
      136 | 139 |
      140 |
      141 |
      142 |
    • 143 |
    144 |
    145 |
  • 146 |
147 |
148 | 149 |
150 |
151 |
152 | 153 |
154 |
155 |
156 | 157 | 158 | -------------------------------------------------------------------------------- /org/webpki/crypto/HmacVerifierInterface.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HmacVerifierInterface (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface HmacVerifierInterface

77 |
78 |
79 |
80 |
public interface HmacVerifierInterface
81 |
Common interface for HMAC validation.
82 |
83 |
84 |
    85 | 86 |
  • 87 |
    88 |

    Method Summary

    89 |
    90 |
    91 |
    92 |
    93 |
    Modifier and Type
    94 |
    Method
    95 |
    Description
    96 |
    boolean
    97 |
    verify(byte[] data, 98 | byte[] digest, 99 | HmacAlgorithms algorithm, 100 | String keyId)
    101 |
     
    102 |
    103 |
    104 |
    105 |
    106 |
  • 107 |
108 |
109 |
110 |
    111 | 112 |
  • 113 |
    114 |

    Method Details

    115 |
      116 |
    • 117 |
      118 |

      verify

      119 |
      boolean verify(byte[] data, 120 | byte[] digest, 121 | HmacAlgorithms algorithm, 122 | String keyId)
      123 |
      124 |
    • 125 |
    126 |
    127 |
  • 128 |
129 |
130 | 131 |
132 |
133 |
134 | 135 |
136 |
137 |
138 | 139 | 140 | -------------------------------------------------------------------------------- /org/webpki/util/MIMETypedObject.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MIMETypedObject (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface MIMETypedObject

77 |
78 |
79 |
80 |
All Known Implementing Classes:
81 |
ImageData
82 |
83 |
84 |
public interface MIMETypedObject
85 |
86 |
87 |
    88 | 89 |
  • 90 |
    91 |

    Method Summary

    92 |
    93 |
    94 |
    95 |
    96 |
    Modifier and Type
    97 |
    Method
    98 |
    Description
    99 |
    byte[]
    100 | 101 |
     
    102 | 103 | 104 |
     
    105 |
    106 |
    107 |
    108 |
    109 |
  • 110 |
111 |
112 |
113 |
    114 | 115 |
  • 116 |
    117 |

    Method Details

    118 |
      119 |
    • 120 |
      121 |

      getData

      122 |
      byte[] getData()
      123 |
      124 |
    • 125 |
    • 126 |
      127 |

      getMimeType

      128 |
      String getMimeType()
      129 |
      130 |
    • 131 |
    132 |
    133 |
  • 134 |
135 |
136 | 137 |
138 |
139 |
140 | 141 |
142 |
143 |
144 | 145 | 146 | -------------------------------------------------------------------------------- /org/webpki/util/HTMLParserURLRewriter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | HTMLParserURLRewriter (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface HTMLParserURLRewriter

77 |
78 |
79 |
80 |
public interface HTMLParserURLRewriter
81 |
82 |
83 |
    84 | 85 |
  • 86 |
    87 |

    Method Summary

    88 |
    89 |
    90 |
    91 |
    92 |
    Modifier and Type
    93 |
    Method
    94 |
    Description
    95 | 96 | 97 |
     
    98 |
    99 |
    100 |
    101 |
    102 |
  • 103 |
104 |
105 |
106 |
    107 | 108 |
  • 109 |
    110 |

    Method Details

    111 | 124 |
    125 |
  • 126 |
127 |
128 | 129 |
130 |
131 |
132 | 133 |
134 |
135 |
136 | 137 | 138 | -------------------------------------------------------------------------------- /org/webpki/crypto/X509VerifierInterface.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | X509VerifierInterface (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface X509VerifierInterface

77 |
78 |
79 |
80 |
All Known Implementing Classes:
81 |
KeyStoreVerifier
82 |
83 |
84 |
public interface X509VerifierInterface
85 |
Common interface for X509 signature validation.
86 |
87 |
88 |
    89 | 90 |
  • 91 |
    92 |

    Method Summary

    93 |
    94 |
    95 |
    96 |
    97 |
    Modifier and Type
    98 |
    Method
    99 |
    Description
    100 |
    boolean
    101 | 102 |
    103 |
    Verify certificate path.
    104 |
    105 |
    106 |
    107 |
    108 |
    109 |
  • 110 |
111 |
112 |
113 |
    114 | 115 |
  • 116 |
    117 |

    Method Details

    118 |
      119 |
    • 120 |
      121 |

      verifyCertificatePath

      122 |
      boolean verifyCertificatePath(X509Certificate[] certificatePath)
      123 |
      Verify certificate path.
      124 |
      125 |
      Parameters:
      126 |
      certificatePath - The path to be validated
      127 |
      Returns:
      128 |
      true if the path is verified and trusted
      129 |
      130 |
      131 |
    • 132 |
    133 |
    134 |
  • 135 |
136 |
137 | 138 |
139 |
140 |
141 | 142 |
143 |
144 |
145 | 146 | 147 | -------------------------------------------------------------------------------- /org/webpki/cbor/CBORCryptoUtils.Collector.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CBORCryptoUtils.Collector (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface CBORCryptoUtils.Collector

77 |
78 |
79 |
80 |
Enclosing class:
81 |
CBORCryptoUtils
82 |
83 |
84 |
public static interface CBORCryptoUtils.Collector
85 |
Interface for collecting tagged or custom data. 86 |

87 | Implementations of this interface must be set by calling the 88 | CBORValidator.setCustomDataPolicy(POLICY,Collector) and 89 | CBORDecrypter.setCustomDataPolicy(POLICY,Collector) for 90 | signatures and encryption respectively. 91 |

92 |
93 |
94 |
    95 | 96 |
  • 97 |
    98 |

    Method Summary

    99 |
    100 |
    101 |
    102 |
    103 |
    Modifier and Type
    104 |
    Method
    105 |
    Description
    106 |
    void
    107 |
    foundData(CBORObject objectOrNull)
    108 |
    109 |
    Get tag or custom data.
    110 |
    111 |
    112 |
    113 |
    114 |
    115 |
  • 116 |
117 |
118 |
119 |
    120 | 121 |
  • 122 |
    123 |

    Method Details

    124 |
      125 |
    • 126 |
      127 |

      foundData

      128 |
      void foundData(CBORObject objectOrNull)
      129 |
      Get tag or custom data.
      130 |
      131 |
      Parameters:
      132 |
      objectOrNull - If there is no tag or custom data this argument is null
      133 |
      134 |
      135 |
    • 136 |
    137 |
    138 |
  • 139 |
140 |
141 | 142 |
143 |
144 |
145 | 146 |
147 |
148 |
149 | 150 | 151 | -------------------------------------------------------------------------------- /help-doc.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | API Help (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 53 |
54 |
55 |

JavaDoc Help

56 | 70 |
71 |
72 |

Navigation

73 | Starting from the Overview page, you can browse the documentation using the links in each page, and in the navigation bar at the top of each page.
74 |
75 |
76 |

Kinds of Pages

77 | The following sections describe the different kinds of pages in this collection. 78 |
79 |

Overview

80 |

The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.

81 |
82 |
83 |

Package

84 |

Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:

85 |
    86 |
  • Interfaces
  • 87 |
  • Classes
  • 88 |
  • Enum Classes
  • 89 |
  • Exception Classes
  • 90 |
  • Annotation Interfaces
  • 91 |
92 |
93 |
94 |

Class or Interface

95 |

Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.

96 |
    97 |
  • Class Inheritance Diagram
  • 98 |
  • Direct Subclasses
  • 99 |
  • All Known Subinterfaces
  • 100 |
  • All Known Implementing Classes
  • 101 |
  • Class or Interface Declaration
  • 102 |
  • Class or Interface Description
  • 103 |
104 |
105 |
    106 |
  • Nested Class Summary
  • 107 |
  • Enum Constant Summary
  • 108 |
  • Field Summary
  • 109 |
  • Property Summary
  • 110 |
  • Constructor Summary
  • 111 |
  • Method Summary
  • 112 |
  • Required Element Summary
  • 113 |
  • Optional Element Summary
  • 114 |
115 |
116 |
    117 |
  • Enum Constant Details
  • 118 |
  • Field Details
  • 119 |
  • Property Details
  • 120 |
  • Constructor Details
  • 121 |
  • Method Details
  • 122 |
  • Element Details
  • 123 |
124 |

Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.

125 |

The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.

126 |
127 |
128 |

Other Files

129 |

Packages and modules may contain pages with additional information related to the declarations nearby.

130 |
131 |
132 |

Tree (Class Hierarchy)

133 |

There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object. Interfaces do not inherit from java.lang.Object.

134 |
    135 |
  • When viewing the Overview page, clicking on TREE displays the hierarchy for all packages.
  • 136 |
  • When viewing a particular package, class or interface page, clicking on TREE displays the hierarchy for only that package.
  • 137 |
138 |
139 |
140 |

Constant Field Values

141 |

The Constant Field Values page lists the static final fields and their values.

142 |
143 |
144 |

Serialized Form

145 |

Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.

146 |
147 |
148 |
149 | This help file applies to API documentation generated by the standard doclet.
150 |
151 |
152 | 153 |
154 |
155 |
156 | 157 | 158 | -------------------------------------------------------------------------------- /org/webpki/cbor/CBORCryptoUtils.Intercepter.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CBORCryptoUtils.Intercepter (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface CBORCryptoUtils.Intercepter

77 |
78 |
79 |
80 |
Enclosing class:
81 |
CBORCryptoUtils
82 |
83 |
84 |
public static interface CBORCryptoUtils.Intercepter
85 |
Interface for customizing map objects. 86 |

87 | Implementations of this interface must be set by calling 88 | CBORSigner.setIntercepter(Intercepter) and 89 | CBOREncrypter.setIntercepter(Intercepter) for 90 | signatures and encryption respectively. 91 |

92 |
93 |
94 |
    95 | 96 |
  • 97 |
    98 |

    Method Summary

    99 |
    100 |
    101 |
    102 |
    103 |
    Modifier and Type
    104 |
    Method
    105 |
    Description
    106 |
    default CBORObject
    107 | 108 |
    109 |
    Optionally add custom data to the map.
    110 |
    111 |
    112 |
    113 |
    114 |
    115 |
  • 116 |
117 |
118 |
119 |
    120 | 121 |
  • 122 |
    123 |

    Method Details

    124 |
      125 |
    • 126 |
      127 |

      getCustomData

      128 |
      default CBORObject getCustomData()
      129 |
      Optionally add custom data to the map. 130 |

      131 | Custom data may be any valid CBOR object. This data is assigned 132 | to the CSF/CEF specific label CBORCryptoConstants.CXF_CUSTOM_DATA_LBL. 133 |

      134 |

      135 | If this method returns null, the assumption is that there is no 136 | custom data. 137 |

      138 |
      139 |
      Returns:
      140 |
      null (default implementation) or custom data object.
      141 |
      142 |
      143 |
    • 144 |
    145 |
    146 |
  • 147 |
148 |
149 | 150 |
151 |
152 |
153 | 154 |
155 |
156 |
157 | 158 | 159 | -------------------------------------------------------------------------------- /org/webpki/cbor/CBORSymKeyDecrypter.KeyLocator.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CBORSymKeyDecrypter.KeyLocator (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface CBORSymKeyDecrypter.KeyLocator

77 |
78 |
79 |
80 |
Enclosing class:
81 |
CBORSymKeyDecrypter
82 |
83 |
84 |
public static interface CBORSymKeyDecrypter.KeyLocator
85 |
Interface for dynamic key retrieval.
86 |
87 |
88 |
    89 | 90 |
  • 91 |
    92 |

    Method Summary

    93 |
    94 |
    95 |
    96 |
    97 |
    Modifier and Type
    98 |
    Method
    99 |
    Description
    100 |
    byte[]
    101 |
    locate(CBORObject optionalKeyId, 102 | ContentEncryptionAlgorithms contentEncryptionAlgorithm)
    103 |
    104 |
    Lookup of secret decryption key.
    105 |
    106 |
    107 |
    108 |
    109 |
    110 |
  • 111 |
112 |
113 |
114 |
    115 | 116 |
  • 117 |
    118 |

    Method Details

    119 |
      120 |
    • 121 |
      122 |

      locate

      123 |
      byte[] locate(CBORObject optionalKeyId, 124 | ContentEncryptionAlgorithms contentEncryptionAlgorithm)
      125 |
      Lookup of secret decryption key. 126 |

      127 | An implementation is supposed to throw an exception if it 128 | does not find a matching key or if the supplied algorithm does 129 | not meet the policy. 130 |

      131 |
      132 |
      Parameters:
      133 |
      optionalKeyId - Optional key Id found in the encryption object
      134 |
      contentEncryptionAlgorithm - The requested content encryption algorithm
      135 |
      Returns:
      136 |
      Decryption key
      137 |
      138 |
      139 |
    • 140 |
    141 |
    142 |
  • 143 |
144 |
145 | 146 |
147 |
148 |
149 | 150 |
151 |
152 |
153 | 154 | 155 | -------------------------------------------------------------------------------- /org/webpki/cbor/doc-files/floatingpoint-variation.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2006-2021 WebPKI.org (http://webpki.org). 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * https://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | * 16 | */ 17 | package org.webpki.cbor; 18 | 19 | import java.io.IOException; 20 | 21 | /** 22 | * Class for holding CBOR floating point numbers. 23 | *

24 | * Numbers are constrained to the IEEE 754 notation 25 | * using the length 16, 32, and 64 bit on "wire". Which 26 | * length to use is governed by the size and precision 27 | * required to (minimally) correctly represent a number. 28 | * API-wise numbers are only communicated as 29 | * 64-bit items (Java double). 30 | *

31 | */ 32 | public class CBORFloatingPoint extends CBORObject { 33 | 34 | double value; 35 | 36 | /** 37 | * CBOR representation of value 38 | */ 39 | int tag; 40 | long bitFormat; 41 | 42 | /** 43 | * Creates a CBOR floating point. 44 | * 45 | * @param value 46 | */ 47 | public CBORFloatingPoint(double value) { 48 | this.value = value; 49 | 50 | // Initial assumption: it is a plain vanilla 64-bit double. 51 | tag = MT_FLOAT64; 52 | bitFormat = Double.doubleToLongBits(value); 53 | 54 | // Check for possible edge cases. 55 | if ((bitFormat & ~FLOAT64_NEG_ZERO) == FLOAT64_POS_ZERO) { 56 | // Some zeroes are more zero than others :) 57 | tag = MT_FLOAT16; 58 | bitFormat = (bitFormat == FLOAT64_POS_ZERO) ? FLOAT16_POS_ZERO : FLOAT16_NEG_ZERO; 59 | } else if ((bitFormat & FLOAT64_POS_INFINITY) == FLOAT64_POS_INFINITY) { 60 | // Special "number". 61 | tag = MT_FLOAT16; 62 | bitFormat = (bitFormat == FLOAT64_POS_INFINITY) ? 63 | FLOAT16_POS_INFINITY : (bitFormat == FLOAT64_NEG_INFINITY) ? 64 | // Deterministic representation of NaN => No NaN "signaling". 65 | FLOAT16_NEG_INFINITY : FLOAT16_NOT_A_NUMBER; 66 | } else { 67 | // It is apparently a regular number. Does it fit in a 32-bit float? 68 | 69 | // Note: the following 64-bit to 32-bit conversion and tests could be replaced 70 | // by two lines of Java code but I wanted to see how ugly a "raw" variant 71 | // would be. Fortunately it wasn't too horrible :) 72 | long signBit = bitFormat & FLOAT64_NEG_ZERO; 73 | long exponent = ((bitFormat >>> FLOAT64_SIGNIFICAND_SIZE) & 74 | ((1l << FLOAT64_EXPONENT_SIZE) - 1)) - 75 | (FLOAT64_EXPONENT_BIAS - FLOAT32_EXPONENT_BIAS); 76 | if (exponent > (FLOAT32_EXPONENT_BIAS << 1)) { 77 | // Too big for float32 or into the space reserved for NaN and Infinity. 78 | return; 79 | } 80 | 81 | long significand = bitFormat & ((1l << FLOAT64_SIGNIFICAND_SIZE) - 1); 82 | if ((significand & 83 | ((1l << (FLOAT64_SIGNIFICAND_SIZE - FLOAT32_SIGNIFICAND_SIZE)) - 1)) != 0) { 84 | // Losing significand bits is not an option. 85 | return; 86 | } 87 | significand >>= (FLOAT64_SIGNIFICAND_SIZE - FLOAT32_SIGNIFICAND_SIZE); 88 | 89 | // Check if we need to denormalize data. 90 | if (exponent <= 0) { 91 | // The implicit "1" becomes explicit using subnormal representation. 92 | significand += 1l << FLOAT32_SIGNIFICAND_SIZE; 93 | exponent--; 94 | // Always perform at least one turn. 95 | do { 96 | if ((significand & 1) != 0) { 97 | // Too off scale for float32. 98 | // This test also catches subnormal float64 numbers. 99 | return; 100 | } 101 | significand >>= 1; 102 | } while (++exponent < 0); 103 | } 104 | 105 | // New assumption: we settle on 32-bit float representation. 106 | tag = MT_FLOAT32; 107 | bitFormat = 108 | // Put possible sign bit in position. 109 | (signBit >>> (64 - 32)) + 110 | // Exponent. Put it in front of significand. 111 | (exponent << FLOAT32_SIGNIFICAND_SIZE) + 112 | // Significand. 113 | significand; 114 | 115 | // However, we must still check if the number could fit in a 16-bit float. 116 | exponent -= (FLOAT32_EXPONENT_BIAS - FLOAT16_EXPONENT_BIAS); 117 | if (exponent > (FLOAT16_EXPONENT_BIAS << 1)) { 118 | // Too big for float16 or into the space reserved for NaN and Infinity. 119 | return; 120 | } 121 | 122 | if ((significand & 123 | ((1l << (FLOAT32_SIGNIFICAND_SIZE - FLOAT16_SIGNIFICAND_SIZE)) - 1)) != 0) { 124 | // Losing significand bits is not an option. 125 | return; 126 | } 127 | significand >>= (FLOAT32_SIGNIFICAND_SIZE - FLOAT16_SIGNIFICAND_SIZE); 128 | 129 | // Check if we need to denormalize data. 130 | if (exponent <= 0) { 131 | // The implicit "1" becomes explicit using subnormal representation. 132 | significand += 1l << FLOAT16_SIGNIFICAND_SIZE; 133 | exponent--; 134 | // Always perform at least one turn. 135 | do { 136 | if ((significand & 1) != 0) { 137 | // Too off scale for float16. 138 | // This test also catches subnormal float32 numbers. 139 | return; 140 | } 141 | significand >>= 1; 142 | } while (++exponent < 0); 143 | } 144 | 145 | // Seems like 16 bits indeed are sufficient! 146 | tag = MT_FLOAT16; 147 | bitFormat = 148 | // Put possible sign bit in position. 149 | (signBit >>> (64 - 16)) + 150 | // Exponent. Put it in front of significand. 151 | (exponent << FLOAT16_SIGNIFICAND_SIZE) + 152 | // Significand. 153 | significand; 154 | } 155 | } 156 | 157 | /** 158 | * A slightly nicer formatter than Java's original 159 | * 160 | * @param value The double 161 | * @return The double in string format 162 | */ 163 | public static String formatDouble(double value) { 164 | return Double.toString(value).replace('E', 'e').replaceAll("e(\\d)", "e+$1"); 165 | } 166 | 167 | @Override 168 | CBORTypes internalGetType() { 169 | return CBORTypes.FLOATING_POINT; 170 | } 171 | 172 | @Override 173 | byte[] internalEncode() throws IOException { 174 | return encodeTagAndValue(tag, 2 << (tag - MT_FLOAT16), bitFormat); 175 | } 176 | 177 | @Override 178 | void internalToString(CBORObject.DiagnosticNotation cborPrinter) { 179 | cborPrinter.append(formatDouble(value)); 180 | } 181 | } 182 | -------------------------------------------------------------------------------- /org/webpki/util/package-tree.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | org.webpki.util Class Hierarchy (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 38 |
39 |
40 |
41 |

Hierarchy For Package org.webpki.util

42 |
43 | Package Hierarchies: 44 | 47 |
48 |

Class Hierarchy

49 | 81 |
82 |
83 |

Interface Hierarchy

84 | 88 |
89 |
90 |

Enum Class Hierarchy

91 | 102 |
103 |
104 |
105 |
106 | 107 |
108 |
109 |
110 | 111 | 112 | -------------------------------------------------------------------------------- /org/webpki/crypto/X509SignerInterface.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | X509SignerInterface (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface X509SignerInterface

77 |
78 |
79 |
80 |
All Superinterfaces:
81 |
AsymKeySignerInterface
82 |
83 |
84 |
All Known Implementing Classes:
85 |
KeyStoreSigner
86 |
87 |
88 |
public interface X509SignerInterface 89 | extends AsymKeySignerInterface
90 |
Common interface for X509 signature creation.
91 |
92 |
93 |
    94 | 95 |
  • 96 |
    97 |

    Method Summary

    98 |
    99 |
    100 |
    101 |
    102 |
    Modifier and Type
    103 |
    Method
    104 |
    Description
    105 | 106 | 107 |
    108 |
    Get certificate path.
    109 |
    110 |
    111 |
    112 |
    113 |
    114 |

    Methods inherited from interface org.webpki.crypto.AsymKeySignerInterface

    115 | getAlgorithm, signData
    116 |
    117 |
  • 118 |
119 |
120 |
121 |
    122 | 123 |
  • 124 |
    125 |

    Method Details

    126 |
      127 |
    • 128 |
      129 |

      getCertificatePath

      130 |
      X509Certificate[] getCertificatePath()
      131 |
      Get certificate path.
      132 |
      133 |
      Returns:
      134 |
      Certificate path
      135 |
      136 |
      137 |
    • 138 |
    139 |
    140 |
  • 141 |
142 |
143 | 144 |
145 |
146 |
147 | 148 |
149 |
150 |
151 | 152 | 153 | -------------------------------------------------------------------------------- /org/webpki/crypto/CertificateSelectorSpi.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CertificateSelectorSpi (WebPKI.org Support) 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 18 |
19 | 71 |
72 |
73 | 74 |
75 | 76 |

Interface CertificateSelectorSpi

77 |
78 |
79 |
80 |
All Known Implementing Classes:
81 |
KeyStoreSigner
82 |
83 |
84 |
public interface CertificateSelectorSpi
85 |
86 |
87 | 108 |
109 |
110 | 133 |
134 | 135 |
136 | 140 |
141 |
142 | 143 | 144 | --------------------------------------------------------------------------------