Home
last modified time | relevance | path

Searched refs:GTException (Results 1 – 25 of 46) sorted by relevance

12

/plugin/gtime/gtlib/tsp/
H A DGTDataHash.php88 * @throws GTException
131 * @throws GTException
138 throw new GTException("hash calculator already closed");
155 * @throws GTException
162 throw new GTException("hash calculator already closed");
170 throw new GTException("file must be a file");
174 throw new GTException("file must be readable");
178 throw new GTException("file must not be 0 bytes");
192 * @throws GTException
199 throw new GTException("hash calculator already closed");
[all …]
H A DGTTimestamp.php197 * @throws GTException
220 throw new GTException("Missing signerInfo.sid");
227 throw new GTException("Missing signerInfo.sid.issuerAndSerialNumber");
243 throw new GTException("Signed attributes missing");
336 throw new GTException("Missing pkSignatureAlgorithm");
349 * @throws GTException
359 throw new GTException("Parameter certTokenResponse is required");
363 throw new GTException("Expecting an GTCertTokenResponse");
423 * @throws GTException
431 throw new GTException("Parameter publicationsFile is required");
[all …]
H A DGTPublicationsFile.php76 * @throws GTException
82 throw new GTException("Parameter bytes is required");
305 * @throws GTException
402 } catch (GTException $e) {
416 * @throws GTException thrown when signature verification fails
437 throw new GTException("Invalid publications file, no signatures");
441 throw new GTException("Invalid publications file, no certificates");
457 * @throws GTException thrown when certificate verification fails
499 throw new GTException("Certificate verification failed");
507 * @throws GTException
[all …]
H A DGTHashAlgorithm.php125 * @throws GTException if there is no algorithm with the given name.
131 throw new GTException("parameter name must not be empty");
147 throw new GTException("Unsupported hash algorithm name: {$name}");
155 * @throws GTException if there is no algorithm with the given OID
162 throw new GTException("parameter oid must not be empty");
171 throw new GTException("Unsupported hash algorithm oid: {$oid}");
179 * @throws GTException if there is no algorithm with the given GTID.
195 throw new GTException("Unsupported hash algorithm gtid: {$gtid}");
H A DGTVerifier.php35 * @throws GTException
59 throw new GTException("Invalid timestamp: no certificates");
87 * @throws GTException
121 * @throws GTException
157 throw new GTException("Invalid signed attributes: null");
190 * @throws GTException
245 } catch (GTException $e) {
290 * @throws GTException
316 * @throws GTException
335 throw new GTException("Parameter publicKey is required");
[all …]
/plugin/gtime/gtlib/util/
H A DGTUtil.php96 throw new GTException("Integer overflow");
112 * @throws GTException
122 throw new GTException("parameter file is required");
153 * @throws GTException
160 throw new GTException("parameter file is required");
170 * @throws GTException
230 * @throws GTException
291 * @throws GTException
498 * @throws GTException
520 * @throws GTException
[all …]
H A DGTBaseX.php50 * @throws GTException
66 throw new GTException("The size of the encoding alphabet is not a power of 2");
116 * @throws GTException
127 throw new GTException("parameter bytes is required");
131 throw new GTException("parameter bytes must be an array of bytes");
146 throw new GTException("parameter offset out of bounds");
150 throw new GTException("parameter length out of bounds");
219 * @throws GTException
226 throw new GTException("parameter string is required");
294 * @throws GTException
[all …]
/plugin/gtime/gtlib/asn1/x509/
H A DX509GeneralName.php74 * @throws GTException
81 throw new GTException("Expecting an ASN1Tag");
85 throw new GTException("Unknown TAG value: {$object->getTagValue()}");
95 * @throws GTException
107 throw new GTException("[0] not implemented");
116 throw new GTException("[3] not implemented");
119 throw new GTException("[4] not implemented");
122 throw new GTException("[5] not implemented");
128 throw new GTException("[7] not implemented");
134 throw new GTException("Unknown TAG value {$this->object->getTagValue()}");
H A DX509Certificate.php47 * @throws GTException
118 throw new GTException("Parameter data is required");
122 throw new GTException("Parameter sign is required");
180 * @throws GTException
208 throw new GTException("Specified cainfo file does not exist: {$cainfo}");
214 throw new GTException("Invalid cainfo specified: " . $cainfo);
230 * @throws GTException
237 throw new GTException("Parameter pkey must be a valid resource of type OpenSSL key");
262 * @throws GTException
272 throw new GTException("Parameter data is required");
[all …]
H A DX509Extension.php54 * @throws GTException
61 throw new GTException("Expecting an ASN1Sequence");
67 throw new GTException("Invalid sequence size: {$size}");
73 throw new GTException("Expecting an ASN1ObjectId");
83 throw new GTException("Expecting an ASN1OctetString");
94 throw new GTException("Expecting an ASN1Boolean");
102 throw new GTException("Expecting an ASN1OctetString");
108 throw new GTException("Invalid sequence size: {$size}");
H A DX509AlgorithmIdentifier.php51 * @throws GTException
58 throw new GTException("object must be an instance of ASN1Sequence");
62 throw new GTException("sequence must contain at least 1 object");
66 throw new GTException("sequence must not contain more than 2 objects");
70 throw new GTException("parameters not implemented");
76 throw new GTException("algorithm must be an instance of ASN1ObjectId");
/plugin/gtime/gtlib/asn1/
H A DASN1DER.php35 * @throws GTException
108 * @throws GTException
115 throw new GTException("parameter bytes is required");
122 throw new GTException("Invalid DER stream, not enough bytes");
138 * @throws GTException
145 throw new GTException("parameter bytes must be an array of bytes");
163 throw new GTException("size > 4");
186 * @throws GTException
193 throw new GTException("parameter bytes must be an array of bytes");
197 throw new GTException("unexpected EOF");
[all …]
/plugin/gtime/gtlib/asn1/tsp/
H A DTSPAccuracy.php56 * @throws GTException
63 throw new GTException("Expecting an ASN1Sequence");
67 throw new GTException("Invalid number of elements in sequence");
77 throw new GTException("Unexpected ASN1Integer: {$item->getValue()}");
81 throw new GTException("Unexpected ASN1Integer: {$item->getValue()}");
95 throw new GTException("Unexpected TAG value: 0");
101 throw new GTException("Expecting an ASN1Integer");
121 throw new GTException("Unexpected TAG value: 1");
127 throw new GTException("Expecting an ASN1Integer");
141 throw new GTException("Unexpected TAG value: {$item->getTagValue()}");
[all …]
H A DTSPMessageImprint.php56 * @throws GTException
63 throw new GTException("object must be an instance of ASN1Sequence");
67 throw new GTException("object must have the size of 2");
76 throw new GTException("Expecting an ASN1OctetString");
104 * @throws GTException
111 throw new GTException("hashAlgorithm must be an instance of X509AlgorithmIdentifier");
129 * @throws GTException
136 throw new GTException("hashedMessage must be an array of bytes");
H A DTSPTimeStampResp.php54 * @throws GTException
61 throw new GTException("object must be an instance of ASN1Sequence");
65 throw new GTException("invalid sequence size");
78 throw new GTException("timestamp token is missing");
89 throw new GTException("unexpected timestamp token");
94 throw new GTException("invalid status code: {$code}");
H A DTSPTSTInfo.php75 * @throws GTException
82 throw new GTException("Expecting an ASN1Sequence");
88 throw new GTException("Invalid sequence size: {$size}");
94 throw new GTException("Expecting an ASN1Integer");
100 throw new GTException("Invalid version: {$this->version}");
106 throw new GTException("Expecting an ASN1ObjectId");
119 throw new GTException("Expecting an ASN1Integer");
127 throw new GTException("Expecting an ASN1GeneralizedTime");
188 … throw new GTException("Unknown critical extension present: {$extension->getId()}");
196 throw new GTException("Unknown TAG in TSTINFO: " . $item->getTagValue());
[all …]
/plugin/gtime/gtlib/asn1/cms/
H A DCMSSignedData.php67 * @throws GTException
74 throw new GTException("Expecting an ASN1Sequence");
80 throw new GTException("Invalid sequence size: {$size}");
86 throw new GTException("Expecting an ASN1Integer");
92 throw new GTException("Invalid version: {$this->version}");
98 throw new GTException("Expecting an ASN1Set");
134 throw new GTException("Certificates size: 0");
144 throw new GTException("Certificate content missing");
161 throw new GTException("Unknown tag value: {$item->getTagValue()}");
170 throw new GTException("SignerInfos size: 0");
[all …]
H A DCMSEncapsulatedContentInfo.php55 * @throws GTException
62 throw new GTException("Expecting an ASN1Sequence");
66 throw new GTException("Invalid sequence size: {$object->getObjectCount()}");
72 throw new GTException("Expecting an ASN1ObjectId");
82 throw new GTException("Expecting an ASN1Tag");
86 throw new GTException("Unexpected tag value: {$tag->getTagValue()}");
121 * @throws GTException
127 throw new GTException("Content missing");
131 throw new GTException("Invalid contentType for TSTInfo: {$this->contentType}");
H A DCMSIssuerAndSerialNumber.php58 * @throws GTException
65 throw new GTException("Expecting an ASN1Sequence");
71 throw new GTException("Invalid sequence size: {$size}");
77 throw new GTException("Expecting an ASN1Sequence");
81 throw new GTException("Issuer content missing");
89 throw new GTException("Expecting an ASN1Integer");
H A DCMSAttribute.php58 * @throws GTException
65 throw new GTException("Expecting an ASN1Sequence");
71 throw new GTException("Invalid sequence size: {$size}");
77 throw new GTException("Expecting an ASN1ObjectId");
87 throw new GTException("Expecting an ASN1Set");
93 throw new GTException("Missing attribute values");
H A DCMSContentInfo.php57 * @throws GTException
64 throw new GTException("Expecting an ASN1Sequence");
68 throw new GTException("Bad sequence size: {$object->getObjectCount()}");
74 throw new GTException("Expecting an ASN1ObjectId");
82 throw new GTException("Bad tag value for content: " . $tag->getTagValue());
98 throw new GTException("Unsupported content type: {$this->contentType}");
/plugin/gtime/gtlib/
H A Dguardtime.php116 throw new GTException("BCMath extension is required by GuardTime PHP SDK");
120 throw new GTException("CURL extension is required by GuardTime PHP SDK");
124 throw new GTException("PHP version 5.3.0 or greater is required by GuardTime PHP SDK");
128 throw new GTException("Hash extension is required by GuardTime PHP SDK");
132 throw new GTException("OpenSSL extension is required by GuardTime PHP SDK");
136 …throw new GTException("OpenSSL version 0.9.8 or later is reqquired by GuardTime PHP SDK, current: …
/plugin/gtime/gtlib/asn1/gt/
H A DGTCertTokenResponse.php52 * @throws GTException
59 throw new GTException("object must be an instance of ASN1Sequence");
63 throw new GTException("invalid sequence size");
76 throw new GTException("token is missing");
82 throw new GTException("Unexpected tag value: " . $tag->getTagValue());
93 throw new GTException("unexpected timestamp token");
98 throw new GTException("invalid status code: {$code}");
124 * @throws GTException
H A DGTVerificationRequest.php55 * @throws GTException
62 throw new GTException("Expecting an ASN1Sequence");
68 throw new GTException("Invalid sequence size: {$size}");
74 throw new GTException("Expecting an ASN1Integer as version");
80 throw new GTException("Invalid value for version: {$this->version}");
91 throw new GTException("Expecting an ASN1OctetString as data");
H A DGTSignatureInfo.php54 * @throws GTException
61 throw new GTException("Expecting an ASN1Sequence");
65 throw new GTException("Invalid sequence size: " . $object->getObjectCount());
74 throw new GTException("Expecting an ASN1OctetString");
81 throw new GTException("pkiRefernces not implemented");

12